pythonPackages.tifffile: fix python 2 build (#46415)

This commit is contained in:
Maximilian Bode 2018-09-09 12:13:36 +02:00 committed by xeji
parent 5b1b4adb2a
commit c020a59ccd

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchPypi, buildPythonPackage, isPy27, pythonOlder
, numpy, nose, enum34, futures }:
, numpy, nose, enum34, futures, pathlib }:
buildPythonPackage rec {
pname = "tifffile";
@ -16,7 +16,7 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [ numpy ]
++ lib.optional isPy27 futures
++ lib.optional isPy27 [ futures pathlib ]
++ lib.optional (pythonOlder "3.0") enum34;
meta = with stdenv.lib; {