summaryrefslogtreecommitdiff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2023-09-16 14:10:26 +0800
committerMarius Bakke <marius@gnu.org>2023-09-22 01:29:18 +0800
commit40f1f2d33befca62b54e6d8ec45b76c965905ab0 (patch)
tree0f706c6772d09cc877dcc43b05d4d0c6d7864dfe /gnu/packages/django.scm
parent4163c617b84802fbe780b9668bb092eab479fc28 (diff)
gnu: Add python-dj-email-url.
* gnu/packages/django.scm (python-dj-email-url): New variable.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm23
1 files changed, 22 insertions, 1 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 577789e988..08c44f1414 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
-;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2020, 2021, 2022, 2023 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>
@@ -32,6 +32,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix gexp)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix deprecation)
#:use-module (guix search-paths)
@@ -691,6 +692,26 @@ dictionary, populated with all the data specified in your URL. There is also a
conn_max_age argument to easily enable Django’s connection pool.")
(license license:bsd-2)))
+(define-public python-dj-email-url
+ (package
+ (name "python-dj-email-url")
+ (version "1.0.6")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dj-email-url" version))
+ (sha256
+ (base32
+ "16k91rvd9889xxrrf84a3zb0jpinizhfqdmafn54zxa8kqrf7zsm"))))
+ (build-system pyproject-build-system)
+ (home-page "https://github.com/migonzalvar/dj-email-url")
+ (synopsis "Configure email settings from URLs")
+ (description
+ "This package provides a facility for configuring Django email backend
+settings from URLs.")
+ (license (list license:bsd-2 ;source code
+ license:cc-by4.0 ;documentation
+ license:cc0)))) ;configuration and data
+
(define-public python-django-picklefield
(package
(name "python-django-picklefield")