3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.tifffile: add missing dependency

(cherry picked from commit ba31a6835d)
This commit is contained in:
Tyler Benster 2019-06-05 22:23:38 -07:00 committed by Frederik Rietdijk
parent 645e5ef1fd
commit 3294887b2b

View file

@ -1,6 +1,7 @@
{ lib, fetchPypi, buildPythonPackage, isPy27
{ lib, fetchPypi, buildPythonPackage, isPy27, isPy3k
, numpy, enum34, futures, pathlib
, pytest
, imagecodecs-lite
}:
buildPythonPackage rec {
@ -24,10 +25,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numpy ]
++ lib.optionals isPy27 [ futures enum34 pathlib ];
++ lib.optionals isPy3k [ imagecodecs-lite ];
meta = with lib; {
description = "Read and write image data from and to TIFF files.";
homepage = https://www.lfd.uci.edu/~gohlke/;
homepage = "https://www.lfd.uci.edu/~gohlke/";
maintainers = [ maintainers.lebastr ];
license = licenses.bsd3;
};