1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, pytz
5, pythonOlder
6, six
7}:
8
9buildPythonPackage rec {
10 pname = "django-modelcluster";
11 version = "5.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0zcn1b0lp9dg6xvz8p8v1hrrgqj71izqalqz2dp1nz5rbj3s34x2";
16 };
17
18 disabled = pythonOlder "3.5";
19
20 doCheck = false;
21
22 propagatedBuildInputs = [ pytz six ];
23
24 meta = with stdenv.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}