pythonPackages.django_guardian: init at 1.4.4

This commit is contained in:
Lancelot SIX 2016-08-05 09:44:51 +02:00
parent a02b7379bb
commit 17b7e34269
No known key found for this signature in database
GPG key ID: 02E1542BA66FB047

View file

@ -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 {
name = "django-tagging-0.3.1";