mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python.pkgs.hypothesis: add pytest_xdist as a checkInputs dependency
without this py.test doesn't recognize the -n flag and fails
This commit is contained in:
parent
868529b2ce
commit
7bbb9824ac
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue