depot/third_party/nixpkgs/pkgs/development/python-modules/imagecodecs-lite/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

38 lines
687 B
Nix

{ lib, fetchPypi, buildPythonPackage
, pytest
, numpy
, cython
}:
buildPythonPackage rec {
pname = "imagecodecs-lite";
version = "2019.12.3";
src = fetchPypi {
inherit pname version;
sha256 = "0s4xb17qd7vimc46rafbjnibj4sf0lnv8cwl22k1h6zb7jhqmlcm";
};
nativeBuildInputs = [
cython
];
checkInputs = [
pytest
];
propagatedBuildInputs = [
numpy
];
checkPhase = ''
pytest
'';
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;
};
}