File tree 1 file changed +4
-4
lines changed
pkgs/development/python-modules/pytest-django
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- { stdenv , buildPythonPackage , fetchurl
1
+ { stdenv , buildPythonPackage , fetchPypi
2
2
, pytest , django , setuptools_scm
3
3
, fetchpatch
4
4
} :
@@ -7,8 +7,8 @@ buildPythonPackage rec {
7
7
name = "${ pname } -${ version } " ;
8
8
version = "3.1.2" ;
9
9
10
- src = fetchurl {
11
- url = "mirror://pypi/p/pytest-django/ ${ name } .tar.gz" ;
10
+ src = fetchPypi {
11
+ inherit pname version ;
12
12
sha256 = "02932m2sr8x22m4az8syr8g835g4ak77varrnw71n6xakmdcr303" ;
13
13
} ;
14
14
@@ -19,7 +19,7 @@ buildPythonPackage rec {
19
19
# Unpin setuptools-scm
20
20
( fetchpatch {
21
21
url = "https://github.com/pytest-dev/pytest-django/commit/25cbc3b395dcdeb92bdc9414e296680c2b9d602e.patch" ;
22
- sha256 = "1mx06y4kz2zs41mb2h9bh5p4jc6s6hfsq6fghhsks5b7qak05xjp " ;
22
+ sha256 = "0mz3rcsv44pfzlxy3pv8mx87glmv34gy0d5aknvbzgb2a9niryws " ;
23
23
} )
24
24
] ;
25
25
You can’t perform that action at this time.
0 commit comments