python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / django-scopes / default.nix
blob108d95a8153467a81a9bcbd88c7ef1de758f86f1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   django,
6   pytestCheckHook,
7   pytest-django,
8 }:
10 buildPythonPackage rec {
11   pname = "django-scopes";
12   version = "2.0.0";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "raphaelm";
17     repo = "django-scopes";
18     rev = "refs/tags/${version}";
19     hash = "sha256-CtToztLVvSb91pMpPNL8RysQJzlRkeXuQbpvbkX3jfM=";
20   };
22   propagatedBuildInputs = [ django ];
24   nativeCheckInputs = [
25     pytest-django
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "django_scopes" ];
31   meta = with lib; {
32     description = "Safely separate multiple tenants in a Django database";
33     homepage = "https://github.com/raphaelm/django-scopes";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ ambroisie ];
36   };