depot/third_party/nixpkgs/pkgs/development/python-modules/django_guardian/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

22 lines
641 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, django_environ, mock, django
, pytest, pytestrunner, pytest-django
}:
buildPythonPackage rec {
pname = "django-guardian";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "ed2de26e4defb800919c5749fb1bbe370d72829fbd72895b6cf4f7f1a7607e1b";
};
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 ];
};
}