Skip to content

Commit

Permalink
pythonPackages.tifffile: fix python 2 build (#46415)
Browse files Browse the repository at this point in the history
(cherry picked from commit c020a59)
  • Loading branch information
mbode authored and xeji committed Sep 9, 2018
1 parent 50bc216 commit 32a4cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/tifffile/default.nix
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchPypi, buildPythonPackage, isPy27, pythonOlder
, numpy, nose, enum34, futures }:
, numpy, nose, enum34, futures, pathlib }:

buildPythonPackage rec {
pname = "tifffile";
Expand All @@ -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; {
Expand Down

0 comments on commit 32a4cbc

Please sign in to comment.