diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 18:38:22 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 19:36:19 +0200 |
commit | 5c463017449b28f6d01762a9ec2bf0b8d92ea889 (patch) | |
tree | e3b2a1c8b53dc2dc3deca6950ac1029a3fa7e44e /pkgs/development/python-modules | |
parent | 63b66bf960d4e8749349bb593a776d472caaee88 (diff) | |
download | nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.tar nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.tar.gz nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.tar.bz2 nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.tar.lz nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.tar.xz nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.tar.zst nixlib-5c463017449b28f6d01762a9ec2bf0b8d92ea889.zip |
python.pkgs.pytest_30: keep this version
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pytest/3_0.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest/3_0.nix b/pkgs/development/python-modules/pytest/3_0.nix new file mode 100644 index 000000000000..487fe1b73c76 --- /dev/null +++ b/pkgs/development/python-modules/pytest/3_0.nix @@ -0,0 +1,27 @@ +{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py +, setuptools_scm +}: +buildPythonPackage rec { + version = "3.0.7"; + pname = "pytest"; + name = "${pname}-${version}"; + + preCheck = '' + # don't test bash builtins + rm testing/test_argcomplete.py + ''; + + src = fetchPypi { + inherit pname version; + sha256 = "b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab"; + }; + + buildInputs = [ hypothesis setuptools_scm ]; + propagatedBuildInputs = [ py ] + ++ (stdenv.lib.optional isPy26 argparse); + + meta = with stdenv.lib; { + maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; + platforms = platforms.unix; + }; +} \ No newline at end of file |