My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/django_modelcluster/default.nix

32 lines
669 B

{ lib
, buildPythonPackage
, fetchPypi
, pytz
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "django-modelcluster";
version = "6.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zc/+9br103We4ExbYP+vGgyV/A8mXnYvPd+t3jOU5ds=";
};
disabled = pythonOlder "3.5";
doCheck = false;
propagatedBuildInputs = [ pytz six ];
meta = with 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 ];
};
}