From 67c8affd69fba06bcd38014916cec0901f909035 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 30 Oct 2015 17:01:50 +0000 Subject: [PATCH] django_redis: init at 4.2.0 --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 292b758b5c0b..6332c03075b8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6038,6 +6038,30 @@ let }; }; + django_redis = makeOverridable ({ django ? self.django }: buildPythonPackage rec { + name = "django-redis-${version}"; + version = "4.2.0"; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/d/django-redis/${name}.tar.gz"; + sha256 = "9ad6b299458f7e6bfaefa8905f52560017369d82fb8fb0ed4b41adc048dbf11c"; + }; + + buildInputs = [ self.mock ]; + + propagatedBuildInputs = [ django ] ++ + (with self; [ + redis + msgpack + ]); + + meta = { + description = "Full featured redis cache backend for Django"; + homepage = https://github.com/niwibe/django-redis; + license = licenses.bsd3; + }; + }) {}; + django_reversion = buildPythonPackage rec { name = "django-reversion-${version}"; version = "1.8.5";