mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
23 lines
627 B
Nix
23 lines
627 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, django_environ, mock, django
|
|
, pytest, pytestrunner, pytest-django
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "django-guardian";
|
|
version = "1.5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0fixr2g5amdgqzh0rvfvd7hbxyfd5ra3y3s0fsmp8i1b68p97930";
|
|
};
|
|
|
|
checkInputs = [ pytest pytestrunner pytest-django django_environ mock ];
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Per object permissions for Django";
|
|
homepage = https://github.com/django-guardian/django-guardian;
|
|
license = [ licenses.mit licenses.bsd2 ];
|
|
};
|
|
}
|