about summary refs log tree commit diff
path: root/pkgs/development/python-modules/django_treebeard/default.nix
blob: 5c45b18be6409f3171f8b5cf4da3bd390eca0a63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
  };

}