2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 18:47:51 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytz
|
2019-08-25 12:43:24 +01:00
|
|
|
, pythonOlder
|
2018-10-16 18:47:51 +01:00
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-modelcluster";
|
2021-10-14 06:18:38 +01:00
|
|
|
version = "5.2";
|
2018-10-16 18:47:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-14 06:18:38 +01:00
|
|
|
sha256 = "e541a46a0a899ef4778a4708be22e71cac3efacc09a6ff44bc065c5c9194c054";
|
2018-10-16 18:47:51 +01:00
|
|
|
};
|
|
|
|
|
2019-08-25 12:43:24 +01:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2018-10-16 18:47:51 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pytz six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 18:47:51 +01:00
|
|
|
description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/torchbox/django-modelcluster/";
|
2018-10-16 18:47:51 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ desiderius ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|