biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / django-treebeard / default.nix
blobfa687c99549f54677bd606c0ae06f0d754f5c0fb
2   lib,
3   buildPythonPackage,
4   django,
5   fetchPypi,
6   pytest-django,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "django-treebeard";
13   version = "4.7.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-hG5GKQS0NxVfduBJB7pOSEgHFoVfiLiY30Eivc+9bpg=";
21   };
23   propagatedBuildInputs = [ django ];
25   nativeCheckInputs = [
26     pytest-django
27     pytestCheckHook
28   ];
30   pythonImportsCheck = [ "treebeard" ];
32   meta = with lib; {
33     description = "Efficient tree implementations for Django";
34     homepage = "https://tabo.pe/projects/django-treebeard/";
35     changelog = "https://github.com/django-treebeard/django-treebeard/blob/${version}/CHANGES.md";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ desiderius ];
38   };