pythonPackages: Add version and pname attributes to packages
This commit is contained in:
committed by
Frederik Rietdijk
parent
4ae5f31403
commit
d99378654f
@@ -2,8 +2,9 @@
|
||||
django, django_compat, django_nose
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "django-hijack-${version}";
|
||||
pname = "django-hijack";
|
||||
version = "2.1.4";
|
||||
name = pname + "-" + version;
|
||||
|
||||
# the pypi packages don't include everything required for the tests
|
||||
src = fetchFromGitHub {
|
||||
@@ -36,4 +37,4 @@ buildPythonPackage rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user