django_hijack: reduce hackishness of overrides

This commit is contained in:
Michael Raskin
2017-05-01 17:42:13 +02:00
parent f87e4c9f53
commit 6fc51d1d7f
2 changed files with 4 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
{ stdenv, buildPythonPackage, fetchurl,
django, django_nose, six
}:
let x =
buildPythonPackage rec {
name = "django-compat-${version}";
version = "1.0.14";
@@ -21,5 +20,4 @@ buildPythonPackage rec {
homepage = https://github.com/arteria/django-compat;
license = licenses.mit;
};
};
in x // {overrideBPP = x.override;}
}