stevenblack-blocklist: 3.15.5 -> 3.15.8 (#372042)
[NixPkgs.git] / pkgs / development / python-modules / django-guardian / default.nix
bloba6727b8f055b8a7ba2b8cae3b0dfa7229d8d668c
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   django-environ,
6   mock,
7   django,
8   pytestCheckHook,
9   pytest-django,
12 buildPythonPackage rec {
13   pname = "django-guardian";
14   version = "2.4.0";
15   format = "setuptools";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "c58a68ae76922d33e6bdc0e69af1892097838de56e93e78a8361090bcd9f89a0";
20   };
22   propagatedBuildInputs = [ django ];
24   nativeCheckInputs = [
25     django-environ
26     mock
27     pytestCheckHook
28     pytest-django
29   ];
31   pythonImportsCheck = [ "guardian" ];
33   meta = with lib; {
34     description = "Per object permissions for Django";
35     homepage = "https://github.com/django-guardian/django-guardian";
36     license = with licenses; [
37       mit
38       bsd2
39     ];
40     maintainers = [ ];
41   };