Merge pull request #62754 from tbenst/imagecodecs-lite

imagecodecs-lite: init at 2019.4.20
This commit is contained in:
Aaron Andersen 2019-09-05 17:24:07 -04:00 committed by GitHub
commit 34a6f75090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, fetchPypi, buildPythonPackage
, pytest
, numpy
, cython
}:
buildPythonPackage rec {
pname = "imagecodecs-lite";
version = "2019.4.20";
src = fetchPypi {
inherit pname version;
sha256 = "1cp88g7g91gdhjhaz6gvb4jzvi5ad817id9f2bnc5r95ag93bqb0";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ numpy cython ];
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;
};
}

View File

@ -2435,6 +2435,8 @@ in {
ijson = callPackage ../development/python-modules/ijson {}; ijson = callPackage ../development/python-modules/ijson {};
imagecodecs-lite = disabledIf (!isPy3k) (callPackage ../development/python-modules/imagecodecs-lite { });
imagesize = callPackage ../development/python-modules/imagesize { }; imagesize = callPackage ../development/python-modules/imagesize { };
image-match = callPackage ../development/python-modules/image-match { }; image-match = callPackage ../development/python-modules/image-match { };