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-03-24 09:28:11 +00:00
|
|
|
version = "4.5.1";
|
2018-10-16 19:00:54 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:11 +00:00
|
|
|
sha256 = "80150017725239702054e5fa64dc66e383dc13ac262c8d47ee5a82cb005969da";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|