Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytest 5, django 6}: 7 8buildPythonPackage rec { 9 pname = "django-treebeard"; 10 version = "4.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "c21db06a8d4943bf2a28d9d7a119058698fb76116df2679ecbf15a46a501de42"; 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}