>From c8f2457eb6f9abe9905b47cbb145697a289b3f9b Mon Sep 17 00:00:00 2001 From: Julien Lepiller
Date: Sat, 22 Apr 2017 19:11:48 +0200 Subject: [PATCH 26/34] gnu: Add python-django-redis. * gnu/packages/django.scm (python-django-redis, python2-django-redis): New variables. --- gnu/packages/django.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 1e55909d5..dcd2f86c5 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -426,3 +426,29 @@ project.") (define-public python2-django-overextends (package-with-python2 python-django-overextends)) + +(define-public python-django-redis + (package + (name "python-django-redis") + (version "4.7.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "django-redis" version)) + (sha256 + (base32 + "0yyyxv8n9l9dhs893jsqwg2cxqkkc79g719n9dzzzqgkzialv1c1")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (native-inputs + `(("python-redis" ,python-redis))) + (propagated-inputs + `(("python-django" ,python-django))) + (home-page "https://github.com/niwibe/django-redis") + (synopsis "Full featured redis cache backend for Django") + (description + "Full featured redis cache backend for Django.") + (license license:bsd-3))) + +(define-public python2-django-redis + (package-with-python2 python-django-redis)) -- 2.12.2