Skip to content

Commit d52eaf8

Browse files
committedSep 1, 2017
python.pkgs.pytest-django: fix patch hash
1 parent 786e971 commit d52eaf8

File tree

1 file changed

+4
-4
lines changed
  • pkgs/development/python-modules/pytest-django

1 file changed

+4
-4
lines changed
 

‎pkgs/development/python-modules/pytest-django/default.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, buildPythonPackage, fetchurl
1+
{ stdenv, buildPythonPackage, fetchPypi
22
, pytest, django, setuptools_scm
33
, fetchpatch
44
}:
@@ -7,8 +7,8 @@ buildPythonPackage rec {
77
name = "${pname}-${version}";
88
version = "3.1.2";
99

10-
src = fetchurl {
11-
url = "mirror://pypi/p/pytest-django/${name}.tar.gz";
10+
src = fetchPypi {
11+
inherit pname version;
1212
sha256 = "02932m2sr8x22m4az8syr8g835g4ak77varrnw71n6xakmdcr303";
1313
};
1414

@@ -19,7 +19,7 @@ buildPythonPackage rec {
1919
# Unpin setuptools-scm
2020
(fetchpatch {
2121
url = "https://github.com/pytest-dev/pytest-django/commit/25cbc3b395dcdeb92bdc9414e296680c2b9d602e.patch";
22-
sha256 = "1mx06y4kz2zs41mb2h9bh5p4jc6s6hfsq6fghhsks5b7qak05xjp";
22+
sha256 = "0mz3rcsv44pfzlxy3pv8mx87glmv34gy0d5aknvbzgb2a9niryws";
2323
})
2424
];
2525

0 commit comments

Comments
 (0)
Please sign in to comment.