tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.pytest: use fetchPypi
Frederik Rietdijk
8 years ago
10df572a
61da5985
+3
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pytest
default.nix
+3
-3
pkgs/development/python-modules/pytest/default.nix
···
1
1
-
{ stdenv, buildPythonPackage, fetchurl, isPy26, argparse, hypothesis, py
1
1
+
{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, hypothesis, py
2
2
, setuptools_scm
3
3
}:
4
4
buildPythonPackage rec {
···
11
11
rm testing/test_argcomplete.py
12
12
'';
13
13
14
14
-
src = fetchurl {
15
15
-
url = "mirror://pypi/p/pytest/${name}.tar.gz";
14
14
+
src = fetchPypi {
15
15
+
inherit pname version;
16
16
sha256 = "4c2159d2be2b4e13fa293e7a72bdf2f06848a017150d5c6d35112ce51cfd74ce";
17
17
};
18
18