Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, django, pytestCheckHook, pytest-django, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "django-scopes"; version = "2.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "raphaelm"; repo = "django-scopes"; tag = finalAttrs.version; hash = "sha256-VtZfwWS6qcY1kthJ6qXf/nwxZpJxu5x41xjjR58wCM0="; };
build-system = [ setuptools ];
dependencies = [ django ];
nativeCheckInputs = [ pytest-django pytestCheckHook ];
pythonImportsCheck = [ "django_scopes" ];
meta = { description = "Safely separate multiple tenants in a Django database"; homepage = "https://github.com/raphaelm/django-scopes"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ ambroisie ]; };})