summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorPradana AUMARS <paumars@courrier.dev>2022-02-27 17:25:16 +0100
committerLudovic Courtès <ludo@gnu.org>2022-05-23 16:24:48 +0200
commit81a801d3200494ce0c50da4efd9bb74492061a4f (patch)
treec01ead96a2f3305a0ce6f17667700c1a9ceb0712 /gnu
parentca53f7eb1d85226a00e98006ff787d508da2b04a (diff)
downloadguix-81a801d3200494ce0c50da4efd9bb74492061a4f.tar.gz
gnu: python-django: Add 3.1.14.
* gnu/packages/django.scm (python-django-3.1.14): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/django.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index d62f4376b6..46b95eb640 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
+;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -153,6 +154,22 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
        ;; Django 4.0 deprecated pytz in favor of Pythons built-in zoneinfo.
        (append python-pytz)))))
 
+;; archivebox requires django>=3.1.3,<3.2
+(define-public python-django-3.1.14
+  (package
+    (inherit python-django-3.2)
+    (version "3.1.14")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Django" version))
+              (sha256
+               (base32
+                "0ix3v2wlnplv78zxjrlw8z3hiap2d5mxvk0ny2fc65526shsb93j"))))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs python-django-3.2)
+       ;; Django 4.0 deprecated pytz in favor of Pythons built-in zoneinfo.
+       (append python-pytz)))))
+
 (define-public python-django-2.2
   (package
     (inherit python-django-3.2)