From 50e35968dddb2e567c39ccac66650c1b9ceb5d39 Mon Sep 17 00:00:00 2001 From: desiderius Date: Wed, 9 Sep 2015 09:04:11 +0200 Subject: [PATCH] pythonPackages.django-modelcluster: init at 0.6.2 Django extension to allow working with 'clusters' of models as a single unit, independently of the database. --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 417a31d1ab30..b9e4037a021c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5482,6 +5482,25 @@ let }; }; + django_modelcluster = buildPythonPackage rec { + name = "django-modelcluster-${version}"; + version = "0.6.2"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/d/django-modelcluster/django-modelcluster-${version}.tar.gz"; + sha256 = "1plsdi44dvsj2sfx79lsrccjfg0ymajcsf5n0mln4cwd4qi5mwpx"; + }; + + propagatedBuildInputs = with self; [ pytz six ]; + + meta = { + 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 ]; + }; + }; + djangorestframework = buildPythonPackage rec { name = "djangorestframework-${version}"; version = "3.2.3";