2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib, fetchPypi, buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytest
|
|
|
|
, numpy
|
|
|
|
, cython
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "imagecodecs-lite";
|
|
|
|
version = "2019.12.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0s4xb17qd7vimc46rafbjnibj4sf0lnv8cwl22k1h6zb7jhqmlcm";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Block-oriented, in-memory buffer transformation, compression, and decompression functions";
|
|
|
|
homepage = "https://www.lfd.uci.edu/~gohlke/";
|
|
|
|
maintainers = [ maintainers.tbenst ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|