8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
31 lines
682 B
Nix
31 lines
682 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytz
|
|
, pythonOlder
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-modelcluster";
|
|
version = "5.0.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1fk7fh30i0fzi0hjd841vxh25iryvgp4lirmxfpq428w4nq7p1bg";
|
|
};
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ pytz six ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database";
|
|
homepage = "https://github.com/torchbox/django-modelcluster/";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ desiderius ];
|
|
};
|
|
|
|
}
|