pythonPackages.django_guardian: init at 1.4.4
This commit is contained in:
parent
a02b7379bb
commit
17b7e34269
@ -9147,6 +9147,28 @@ in modules // {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
django_guardian = buildPythonPackage rec {
|
||||||
|
name = "django-guardian-${version}";
|
||||||
|
version = "1.4.4";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/d/django-guardian/${name}.tar.gz";
|
||||||
|
sha256 = "1m7y3brk3697hr2cvkzl8dry4pp7wkmhvxmf8db1ardz1r9d8895";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = with self ; [ pytestrunner pytestdjango django_environ mock sqlite3 ];
|
||||||
|
propagatedBuildInputs = with self ; [ django six ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} nix_run_setup.py test --addopts="--ignore build"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Per object permissions for Django";
|
||||||
|
homepage = https://github.com/django-guardian/django-guardian;
|
||||||
|
licenses = [ licenses.mit licenses.bsd2 ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
django_tagging = buildPythonPackage rec {
|
django_tagging = buildPythonPackage rec {
|
||||||
name = "django-tagging-0.3.1";
|
name = "django-tagging-0.3.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user