aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2023-09-16 14:34:09 +0800
committerMarius Bakke <marius@gnu.org>2023-09-22 01:29:18 +0800
commitc196c4c3536389094c3a2fc5b9bd62e63fd02689 (patch)
tree035c34a08460d4acfd8631931e7e79259cda7323
parentee401c1cb5172fb2942be63e82fbd527a4e0ef71 (diff)
downloadguix-c196c4c3536389094c3a2fc5b9bd62e63fd02689.tar
guix-c196c4c3536389094c3a2fc5b9bd62e63fd02689.tar.gz
gnu: Add python-django-cache-url.
* gnu/packages/django.scm (python-django-cache-url): New variable.
-rw-r--r--gnu/packages/django.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 3121ef30d5..b6f695b080 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -189,6 +189,26 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
;; Use 3.2 LTS as the default until packages gain support for 4.x.
(define-public python-django python-django-3.2)
+(define-public python-django-cache-url
+ (package
+ (name "python-django-cache-url")
+ (version "3.4.4")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "django-cache-url" version))
+ (sha256
+ (base32
+ "0dpx2wmcclmd3jkprdljz3makq12vd0sjv3xnvlj5vk1lg7glb7g"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-django))
+ (home-page "https://github.com/epicserve/django-cache-url")
+ (synopsis "Configure Django cache settings from URLs")
+ (description
+ "This package provides a facility for configuring Django cache settings
+with a @var{CACHE_URL} environment variable.")
+ (license license:expat)))
+
(define-public python-django-extensions
(package
(name "python-django-extensions")