2019-06-06 05:23:38 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage
|
|
|
|
, pytest
|
|
|
|
, numpy
|
|
|
|
, cython
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "imagecodecs-lite";
|
2019-12-30 13:30:28 +00:00
|
|
|
version = "2019.12.3";
|
2019-06-06 05:23:38 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-30 13:30:28 +00:00
|
|
|
sha256 = "0s4xb17qd7vimc46rafbjnibj4sf0lnv8cwl22k1h6zb7jhqmlcm";
|
2019-06-06 05:23:38 +00:00
|
|
|
};
|
|
|
|
|
2019-12-30 13:30:28 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
2019-06-06 05:23:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions";
|
|
|
|
homepage = "https://www.lfd.uci.edu/~gohlke/";
|
|
|
|
maintainers = [ maintainers.tbenst ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|