Something went wrong. Try again.
lol
Something went wrong. Try again.
838 B · 44 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, django-environ, django, pytestCheckHook, pytest-django, pytest-xdist, setuptools,}:
buildPythonPackage rec { pname = "django-guardian"; version = "3.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "django-guardian"; repo = "django-guardian"; tag = version; hash = "sha256-imisHa5DOIQrQCEPWC/0EqPjDq12tR3xr0Dl1VifJoI="; };
build-system = [ setuptools ];
dependencies = [ django ];
nativeCheckInputs = [ django-environ pytestCheckHook pytest-django pytest-xdist ];
pythonImportsCheck = [ "guardian" ];
meta = { description = "Per object permissions for Django"; homepage = "https://github.com/django-guardian/django-guardian"; license = with lib.licenses; [ bsd2 ]; maintainers = [ ]; };}