1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytz
5, pythonOlder
6, six
7}:
8
9buildPythonPackage rec {
10 pname = "django-modelcluster";
11 version = "5.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "e541a46a0a899ef4778a4708be22e71cac3efacc09a6ff44bc065c5c9194c054";
16 };
17
18 disabled = pythonOlder "3.5";
19
20 doCheck = false;
21
22 propagatedBuildInputs = [ pytz six ];
23
24 meta = with lib; {
25 description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database";
26 homepage = "https://github.com/torchbox/django-modelcluster/";
27 license = licenses.bsd2;
28 maintainers = with maintainers; [ desiderius ];
29 };
30
31}