depot/third_party/nixpkgs/pkgs/development/python-modules/django_modelcluster/default.nix
Default email 77976348d2 Project import generated by Copybara.
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
2021-10-17 05:12:59 +03:00

31 lines
682 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytz
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "django-modelcluster";
version = "5.2";
src = fetchPypi {
inherit pname version;
sha256 = "e541a46a0a899ef4778a4708be22e71cac3efacc09a6ff44bc065c5c9194c054";
};
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 ];
};
}