depot/third_party/nixpkgs/pkgs/development/python-modules/django_treebeard/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

30 lines
664 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, django
}:
buildPythonPackage rec {
pname = "django-treebeard";
version = "4.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "80150017725239702054e5fa64dc66e383dc13ac262c8d47ee5a82cb005969da";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ django ];
# tests fail "AppRegistryNotReady("Apps aren't loaded yet.")"
doCheck = false;
meta = with lib; {
description = "Efficient tree implementations for Django 1.6+";
homepage = "https://tabo.pe/projects/django-treebeard/";
maintainers = with maintainers; [ desiderius ];
license = licenses.asl20;
};
}