tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.pytest-django: fix patch hash
Jörg Thalheim
8 years ago
d52eaf87
786e9711
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pytest-django
default.nix
+4
-4
pkgs/development/python-modules/pytest-django/default.nix
···
1
1
-
{ stdenv, buildPythonPackage, fetchurl
1
1
+
{ stdenv, buildPythonPackage, fetchPypi
2
2
, pytest, django, setuptools_scm
3
3
, fetchpatch
4
4
}:
···
7
7
name = "${pname}-${version}";
8
8
version = "3.1.2";
9
9
10
10
-
src = fetchurl {
11
11
-
url = "mirror://pypi/p/pytest-django/${name}.tar.gz";
10
10
+
src = fetchPypi {
11
11
+
inherit pname version;
12
12
sha256 = "02932m2sr8x22m4az8syr8g835g4ak77varrnw71n6xakmdcr303";
13
13
};
14
14
···
19
19
# Unpin setuptools-scm
20
20
(fetchpatch {
21
21
url = "https://github.com/pytest-dev/pytest-django/commit/25cbc3b395dcdeb92bdc9414e296680c2b9d602e.patch";
22
22
-
sha256 = "1mx06y4kz2zs41mb2h9bh5p4jc6s6hfsq6fghhsks5b7qak05xjp";
22
22
+
sha256 = "0mz3rcsv44pfzlxy3pv8mx87glmv34gy0d5aknvbzgb2a9niryws";
23
23
})
24
24
];
25
25