diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 18:39:49 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-08-25 19:36:19 +0200 |
commit | 10df572a034cfc92d3faddfbb4dd4cfd0afd2f42 (patch) | |
tree | 389031afbe81bd5bcb6f4f51caee0d8f358695cf /pkgs/development/python-modules | |
parent | 61da59858c15cf88798e8ef92f94e8f9d3390a38 (diff) | |
download | nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.tar nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.tar.gz nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.tar.bz2 nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.tar.lz nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.tar.xz nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.tar.zst nixlib-10df572a034cfc92d3faddfbb4dd4cfd0afd2f42.zip |
python.pkgs.pytest: use fetchPypi
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pytest/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 6e450afbef97..32ad71de7044 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchurl, isPy26, argparse, hypothesis, py +{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py , setuptools_scm }: buildPythonPackage rec { @@ -11,8 +11,8 @@ buildPythonPackage rec { rm testing/test_argcomplete.py ''; - src = fetchurl { - url = "mirror://pypi/p/pytest/${name}.tar.gz"; + src = fetchPypi { + inherit pname version; sha256 = "4c2159d2be2b4e13fa293e7a72bdf2f06848a017150d5c6d35112ce51cfd74ce"; }; |