mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
37 lines
682 B
Nix
37 lines
682 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
pytest,
|
|
numpy,
|
|
cython,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "imagecodecs-lite";
|
|
version = "2019.12.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ldGKoTzrGximEJQztC0FThO5opXLqWwIq3Gfhk9YnWg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cython ];
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
checkPhase = ''
|
|
pytest
|
|
'';
|
|
|
|
meta = {
|
|
description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions";
|
|
homepage = "https://www.lfd.uci.edu/~gohlke/";
|
|
maintainers = [ ];
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|