[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54187] [PATCH] gnu: Add python-django-3.1.14
From: |
Pradana Adrinusa AUMARS |
Subject: |
[bug#54187] [PATCH] gnu: Add python-django-3.1.14 |
Date: |
Sun, 27 Feb 2022 17:29:56 +0100 |
>From f7d588b61dd5a00a9a199121f24ede058423d518 Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sun, 27 Feb 2022 17:25:16 +0100
Subject: [PATCH] gnu: Add python-django-3.1.14
* gnu/packages/django.scm (python-django-3.1.14): New variable.
---
gnu/packages/django.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 1161d3bc18..a34c8d0e7b 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 @@ (define-public python-django-3.2
;; 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)
--
2.34.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#54187] [PATCH] gnu: Add python-django-3.1.14,
Pradana Adrinusa AUMARS <=