From 6f90badeac9c6453033665bdeb78e28d02c8250c Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 13 Mar 2017 14:42:10 +0100 Subject: [PATCH] pythonPackages.hypothesis: fix for python 3.3 --- pkgs/development/python-modules/hypothesis.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hypothesis.nix b/pkgs/development/python-modules/hypothesis.nix index f313f6ab5c4..7505d3bf5b7 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;