pythonPackages.django_treebeard: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-16 14:00:54 -04:00
committed by Frederik Rietdijk
parent 13b5bfbad4
commit 0e8cf61604
2 changed files with 31 additions and 19 deletions

View File

@@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, django
}:
buildPythonPackage rec {
pname = "django-treebeard";
version = "4.3";
src = fetchPypi {
inherit pname version;
sha256 = "c21db06a8d4943bf2a28d9d7a119058698fb76116df2679ecbf15a46a501de42";
};
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+";
homepage = https://tabo.pe/projects/django-treebeard/;
maintainers = with maintainers; [ desiderius ];
license = licenses.asl20;
};
}