Skip to content

Commit

Permalink
python.pkgs.pytest-django: fix patch hash
Browse files Browse the repository at this point in the history
(cherry picked from commit d52eaf8)
  • Loading branch information
Mic92 committed Sep 1, 2017
1 parent b999b80 commit 775ec9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/pytest-django/default.nix
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchurl
{ stdenv, buildPythonPackage, fetchPypi
, pytest, django, setuptools_scm
, fetchpatch
}:
Expand All @@ -7,8 +7,8 @@ buildPythonPackage rec {
name = "${pname}-${version}";
version = "3.1.2";

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

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

Expand Down

0 comments on commit 775ec9e

Please sign in to comment.