diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-03-13 14:42:10 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-03-13 16:37:24 +0100 |
commit | 6f90badeac9c6453033665bdeb78e28d02c8250c (patch) | |
tree | e368ab25c4290cfc25dadbedabff2f4785cb75f5 /pkgs/development/python-modules/hypothesis.nix | |
parent | c8c4902ee14fd4c627e12439102bd506a447921c (diff) | |
download | nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.tar nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.tar.gz nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.tar.bz2 nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.tar.lz nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.tar.xz nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.tar.zst nixlib-6f90badeac9c6453033665bdeb78e28d02c8250c.zip |
pythonPackages.hypothesis: fix for python 3.3
Diffstat (limited to 'pkgs/development/python-modules/hypothesis.nix')
-rw-r--r-- | pkgs/development/python-modules/hypothesis.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/hypothesis.nix b/pkgs/development/python-modules/hypothesis.nix index f313f6ab5c4d..7505d3bf5b7a 100644 --- a/pkgs/development/python-modules/hypothesis.nix +++ b/pkgs/development/python-modules/hypothesis.nix @@ -1,5 +1,5 @@ { stdenv, buildPythonPackage, fetchFromGitHub, python -, isPy27, enum34 +, pythonOlder, enum34 , doCheck ? true, pytest, flake8, flaky }: buildPythonPackage rec { @@ -21,7 +21,7 @@ buildPythonPackage rec { }; buildInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ]; - propagatedBuildInputs = stdenv.lib.optionals isPy27 [ enum34 ]; + propagatedBuildInputs = stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ]; inherit doCheck; |