pythonPackages.hypothesis: fix for python 3.3
This commit is contained in:
parent
c8c4902ee1
commit
6f90badeac
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, python
|
{ stdenv, buildPythonPackage, fetchFromGitHub, python
|
||||||
, isPy27, enum34
|
, pythonOlder, enum34
|
||||||
, doCheck ? true, pytest, flake8, flaky
|
, doCheck ? true, pytest, flake8, flaky
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ];
|
buildInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ];
|
||||||
propagatedBuildInputs = stdenv.lib.optionals isPy27 [ enum34 ];
|
propagatedBuildInputs = stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ];
|
||||||
|
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user