2018-10-16 19:00:54 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-treebeard";
|
2019-12-29 09:28:06 +00:00
|
|
|
version = "4.3.1";
|
2018-10-16 19:00:54 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-29 09:28:06 +00:00
|
|
|
sha256 = "83aebc34a9f06de7daaec330d858d1c47887e81be3da77e3541fe7368196dd8a";
|
2018-10-16 19:00:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
|
|
|
# tests fail "AppRegistryNotReady("Apps aren't loaded yet.")"
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|