diff options
Diffstat (limited to 'pkgs/development/python-modules/natsort/default.nix')
-rw-r--r-- | pkgs/development/python-modules/natsort/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/natsort/default.nix b/pkgs/development/python-modules/natsort/default.nix index bd48ad2559c1..7041768c2097 100644 --- a/pkgs/development/python-modules/natsort/default.nix +++ b/pkgs/development/python-modules/natsort/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , pythonOlder +, isPy35 +, isPy36 , fetchPypi , hypothesis , pytestcache @@ -38,7 +40,8 @@ buildPythonPackage rec { }; # do not run checks on nix_run_setup.py - patches = [ ./setup.patch ]; + patches = lib.singleton ./setup.patch + ++ lib.optional (isPy35 || isPy36) ./python-3.6.3-test-failures.patch; # testing based on project's tox.ini checkPhase = '' |