about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2017-05-29 02:00:50 +0100
committerRobert Scott <code@humanleg.org.uk>2017-05-29 02:10:43 +0100
commit7bbb9824ac0cb002a35114417f5175e5434424da (patch)
tree2ec2a77271f75c61c6227d95a67695b2476cd0c6 /pkgs/development/python-modules
parent868529b2ce5f49ea153276783069d3d0631a0230 (diff)
downloadnixlib-7bbb9824ac0cb002a35114417f5175e5434424da.tar
nixlib-7bbb9824ac0cb002a35114417f5175e5434424da.tar.gz
nixlib-7bbb9824ac0cb002a35114417f5175e5434424da.tar.bz2
nixlib-7bbb9824ac0cb002a35114417f5175e5434424da.tar.lz
nixlib-7bbb9824ac0cb002a35114417f5175e5434424da.tar.xz
nixlib-7bbb9824ac0cb002a35114417f5175e5434424da.tar.zst
nixlib-7bbb9824ac0cb002a35114417f5175e5434424da.zip
python.pkgs.hypothesis: add pytest_xdist as a checkInputs dependency
without this py.test doesn't recognize the -n flag and fails
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/hypothesis.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/hypothesis.nix b/pkgs/development/python-modules/hypothesis.nix
index b9f95d1a0313..cb0db6dc2e0c 100644
--- a/pkgs/development/python-modules/hypothesis.nix
+++ b/pkgs/development/python-modules/hypothesis.nix
@@ -1,6 +1,6 @@
 { stdenv, buildPythonPackage, fetchFromGitHub, python
 , pythonOlder, pythonAtLeast, enum34
-, doCheck ? true, pytest, flake8, flaky
+, doCheck ? true, pytest, pytest_xdist, flake8, flaky
 }:
 buildPythonPackage rec {
   # http://hypothesis.readthedocs.org/en/latest/packaging.html
@@ -21,7 +21,7 @@ buildPythonPackage rec {
     sha256 = "1s911pd3y9hvk0hq2fr6i68dqv1ciagryhgp13wgyfqh8hz8j6zv";
   };
 
-  checkInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ];
+  checkInputs = stdenv.lib.optionals doCheck [ pytest pytest_xdist flake8 flaky ];
   propagatedBuildInputs = stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ];
 
   inherit doCheck;