1{
2 lib,
3 buildPythonPackage,
4 django,
5 fetchPypi,
6 pytest-django,
7 pytestCheckHook,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "django-treebeard";
13 version = "4.7.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-hG5GKQS0NxVfduBJB7pOSEgHFoVfiLiY30Eivc+9bpg=";
21 };
22
23 propagatedBuildInputs = [ django ];
24
25 nativeCheckInputs = [
26 pytest-django
27 pytestCheckHook
28 ];
29
30 pythonImportsCheck = [ "treebeard" ];
31
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 };
38}