pythonPackages.django_hijack: 2.1.9 -> 2.1.10

This commit is contained in:
Robert Scott 2019-01-19 14:18:54 +00:00
parent 4bddac6e67
commit c9912dbf9d
1 changed files with 3 additions and 4 deletions

View File

@ -3,15 +3,14 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-hijack"; pname = "django-hijack";
version = "2.1.9"; version = "2.1.10";
name = pname + "-" + version;
# the pypi packages don't include everything required for the tests # the pypi packages don't include everything required for the tests
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "arteria"; owner = "arteria";
repo = "django-hijack"; repo = "django-hijack";
rev = "v${version}"; rev = "v${version}";
sha256 = "109xi93xj37ycdsvainybhg89pcb5sawv6w80px4r6fjvaq4732c"; sha256 = "01fwkjdzvw0yx2spwi7zc1yy64ndq1y72bfmk7kxnq5x803m2ak6";
}; };
checkInputs = [ django_nose ]; checkInputs = [ django_nose ];
@ -24,7 +23,7 @@ buildPythonPackage rec {
# source directory # source directory
mkdir testbase mkdir testbase
pushd testbase pushd testbase
cp ../runtests.py . mv ../runtests.py .
${python.interpreter} runtests.py hijack ${python.interpreter} runtests.py hijack
popd popd