gnu: Add python-dj-email-url.

* gnu/packages/django.scm (python-dj-email-url): New variable.
This commit is contained in:
Marius Bakke 2023-09-16 14:10:26 +08:00
parent 4163c617b8
commit 40f1f2d33b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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 @@ (define-module (gnu packages django)
#: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 @@ (define-public python-dj-database-url
conn_max_age argument to easily enable Djangos 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")