Skip to content

Commit

Permalink
Merge pull request #62754 from tbenst/imagecodecs-lite
Browse files Browse the repository at this point in the history
imagecodecs-lite: init at 2019.4.20
  • Loading branch information
aanderse committed Sep 5, 2019
2 parents b081115 + d0a442f commit 34a6f75
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/development/python-modules/imagecodecs-lite/default.nix
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -2435,6 +2435,8 @@ in {

ijson = callPackage ../development/python-modules/ijson {};

imagecodecs-lite = disabledIf (!isPy3k) (callPackage ../development/python-modules/imagecodecs-lite { });

imagesize = callPackage ../development/python-modules/imagesize { };

image-match = callPackage ../development/python-modules/image-match { };
Expand Down

0 comments on commit 34a6f75

Please sign in to comment.