Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, django-environ, django, pytestCheckHook, pytest-django, pytest-xdist, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "django-guardian"; version = "3.5.2"; pyproject = true;
src = fetchFromGitHub { owner = "django-guardian"; repo = "django-guardian"; tag = finalAttrs.version; hash = "sha256-0LNBKprgeTIwb+PqiQwXCvESAYRZCxK9cYWmPCgvktk="; };
build-system = [ setuptools ];
dependencies = [ django ];
nativeCheckInputs = [ django-environ pytestCheckHook pytest-django pytest-xdist ];
pythonImportsCheck = [ "guardian" ];
meta = { changelog = "https://github.com/django-guardian/django-guardian/releases/tag/${finalAttrs.src.tag}"; description = "Per object permissions for Django"; homepage = "https://github.com/django-guardian/django-guardian"; license = lib.licenses.bsd2; maintainers = [ ]; };})