1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, django
6}:
7
8buildPythonPackage rec {
9 pname = "django-treebeard";
10 version = "4.5.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "80150017725239702054e5fa64dc66e383dc13ac262c8d47ee5a82cb005969da";
15 };
16
17 buildInputs = [ pytest ];
18 propagatedBuildInputs = [ django ];
19
20 # tests fail "AppRegistryNotReady("Apps aren't loaded yet.")"
21 doCheck = false;
22
23 meta = with lib; {
24 description = "Efficient tree implementations for Django 1.6+";
25 homepage = "https://tabo.pe/projects/django-treebeard/";
26 maintainers = with maintainers; [ desiderius ];
27 license = licenses.asl20;
28 };
29
30}