summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEvgeny Pisemsky <mail@pisemsky.site>2026-03-19 16:40:35 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-20 14:11:37 +0000
commit60919f0bfe1fd58f6fe3f849d16355550d7410ce (patch)
tree59b6035a0ed342db2496e2f0d918d3a706e04929 /gnu/packages
parent3e8ec45750d5c30a7223ef320980e228f575352f (diff)
gnu: Add python-django-mailer.
* gnu/packages/django.scm (python-django-mailer): New variable. Merges: https://codeberg.org/guix/guix/pulls/7293 Change-Id: I4469d785136097f7f773de6aa3744004c7d6811f Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl> Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/django.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 5e79352b62d..3cf636fc29a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2025 jgart <jgart@dismail.de>
+;;; Copyright © 2026 Evgeny Pisemsky <mail@pisemsky.site>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1055,6 +1056,39 @@ applications with a @var{SEARCH_URL} variable.")
for Django sites.")
(license license:bsd-3)))
+(define-public python-django-mailer
+ (package
+ (name "python-django-mailer")
+ ;; Include switching from lockfile to filelock and other fixes.
+ (properties '((commit . "e350fb04eec052a7ad27aee310e6d4073012ca2f")
+ (revision . "0")))
+ (version (git-version "2.3.2"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pinax/django-mailer")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19d8asqai0sxn0y0bzqz03hgm8rzl95rmp787y3ps2lsm4c1an3y"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-django
+ python-setuptools))
+ (propagated-inputs
+ (list python-django
+ python-filelock-next))
+ (home-page "https://github.com/pinax/django-mailer")
+ (synopsis "Mail queuing and management for Django")
+ (description
+ "This is a reusable Django application for queuing the sending of email.
+It works by storing email in the database for later sending.")
+ (license license:expat)))
+
(define-public python-django-contrib-comments
(package
(name "python-django-contrib-comments")