2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 19:00:54 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-treebeard";
|
2021-01-21 05:19:48 +00:00
|
|
|
version = "4.4";
|
2018-10-16 19:00:54 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-21 05:19:48 +00:00
|
|
|
sha256 = "f50e4eea146f7af6702decf7ef198ac1eee1fb9bb4af2c5dba276c3c48f76623";
|
2018-10-16 19:00:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
|
|
|
# tests fail "AppRegistryNotReady("Apps aren't loaded yet.")"
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 19:00:54 +01:00
|
|
|
description = "Efficient tree implementations for Django 1.6+";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://tabo.pe/projects/django-treebeard/";
|
2018-10-16 19:00:54 +01:00
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|