1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytest
5, django
6}:
7
8buildPythonPackage rec {
9 pname = "django-treebeard";
10 version = "4.3.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "83aebc34a9f06de7daaec330d858d1c47887e81be3da77e3541fe7368196dd8a";
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 stdenv.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}