summaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm62
1 files changed, 26 insertions, 36 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 607f01d888..8fc9446300 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -40,6 +40,7 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020 divoplade <d@divoplade.fr>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Benoit Joly <benoit@benoitj.ca>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
@@ -727,13 +728,14 @@ It adds a large amount of new and improved features to mutt.")
(native-inputs
`(("pkg-config" ,pkg-config)
("gnupg" ,gnupg) ; for tests only
- ("gobject-introspection" ,gobject-introspection)))
+ ("gobject-introspection" ,gobject-introspection)
+ ("vala" ,vala)))
(inputs `(("glib" ,glib)
("gpgme" ,gpgme)
("zlib" ,zlib)))
(arguments
`(#:configure-flags
- (list "--enable-introspection=yes")
+ (list "--enable-introspection=yes" "--enable-vapigen=yes")
#:phases
(modify-phases %standard-phases
(add-after
@@ -922,7 +924,7 @@ mailpack. What can alterMIME do?
`(("boost" ,boost)
("gmime" ,gmime)
("gobject-introspection" ,gobject-introspection) ; it is referenced
- ("gtkmm" ,gtkmm)
+ ("gtkmm" ,gtkmm-3)
("libpeas" ,libpeas)
("libsass" ,libsass)
("notmuch" ,notmuch)
@@ -1220,8 +1222,7 @@ security functionality including PGP, S/MIME, SSH, and SSL.")
(lambda* (#:key inputs #:allow-other-keys)
;; For mu/test/test-mu-query.c
(setenv "TZDIR"
- (string-append (assoc-ref inputs "tzdata")
- "/share/zoneinfo"))))
+ (search-input-directory inputs "share/zoneinfo"))))
(add-after 'install 'install-emacs-autoloads
(lambda* (#:key outputs #:allow-other-keys)
(emacs-generate-autoloads
@@ -1331,7 +1332,7 @@ Notmuch.")
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/notifymuch")))
(wrap-program bin
- `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
+ `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")
,(string-append out "/lib/girepository-1.0")))))
@@ -1684,8 +1685,8 @@ compresses it.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/procmime.c"
(("/usr/share/mime/globs")
- (string-append (assoc-ref inputs "shared-mime-info")
- "/share/mime/globs"))))))))
+ (search-input-directory inputs
+ "/share/mime/globs"))))))))
(native-inputs
`(("bison" ,bison)
;;("docbook-utils" ,docbook-utils)
@@ -1704,7 +1705,7 @@ compresses it.")
("enchant" ,enchant)
("expat" ,expat)
("fontconfig" ,fontconfig)
- ("gdk-pixbuf+svg" ,gdk-pixbuf+svg)
+ ("librsvg" ,librsvg)
("ghostscript" ,ghostscript)
("glib" ,glib)
("gnupg" ,gnupg)
@@ -1932,11 +1933,7 @@ facilities for checking incoming mail.")
("icu4c" ,icu4c)
("libsodium" ,libsodium) ; extra password algorithms
("libstemmer" ,libstemmer)
- ;; FIXME: The 'test-backtrace' tests fail on arm when using glibc's
- ;; backtrace_symbol() function so fallback to using libunwind.
- ,@(if (target-arm?)
- `(("libunwind" ,libunwind))
- '())
+ ("libunwind" ,libunwind)
("linux-pam" ,linux-pam)
("lz4" ,lz4)
("openssl" ,openssl)
@@ -3022,6 +3019,7 @@ transfer protocols.")
(let ((out (assoc-ref outputs "out"))
(path (getenv "PERL5LIB")))
(wrap-script (string-append out "/bin/sieve-connect")
+ #:guile (search-input-file inputs "bin/guile")
`("PERL5LIB" ":" = (,path)))
#t))))))
(inputs
@@ -3360,14 +3358,14 @@ filtering, digest delivery, and more.")
(define-public python-mailmanclient
(package
(name "python-mailmanclient")
- (version "3.3.1")
+ (version "3.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mailmanclient" version))
(sha256
(base32
- "0pjgzpvhdb6ql8asb20xr8d01m646zpghmcp9fmscks0n1k4di4g"))))
+ "0ppqnv84v7npgjykhqdy5c38vanz4l0qw871kpsl27z4fm365zlj"))))
(build-system python-build-system)
(arguments
`(#:tests? #f)) ; Requires mailman running
@@ -3466,14 +3464,14 @@ installation on systems where resources are limited. Its features include:
(define-public python-django-mailman3
(package
(name "python-django-mailman3")
- (version "1.3.4")
+ (version "1.3.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "django-mailman3" version))
(sha256
(base32
- "1yrm7wpjy34xai72vn2vkhc9131cdrbqy08rrabf36kynj5vcdvy"))))
+ "1dzycnwdr1gavs1dgmcv1lz24x0fkp8y864fy52fgbz72d6c5a3f"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -3502,24 +3500,14 @@ interacting with Mailman.")
(define-public python-mailman-hyperkitty
(package
(name "python-mailman-hyperkitty")
- (version "1.1.0")
+ (version "1.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "mailman-hyperkitty" version))
(sha256
(base32
- "1lfqa9admhvdv71f528jmz2wl0i5cv77v6l64px2pm4zqr9ckkjx"))
- (patches
- (list
- (origin
- ;; see: https://gitlab.com/mailman/mailman-hyperkitty/issues/17
- ;; fixes test_archive_message_unserializable
- (method url-fetch)
- (uri "https://salsa.debian.org/mailman-team/mailman-hyperkitty/raw/debian/1.1.0-9/debian/patches/0002-Skip-the-test_archive_message_unserializable.patch")
- (sha256
- (base32
- "0p1fwm46c4bl81lvsg3kjhn2r1lwgkpgxamb3xyqn7h9qdrw10hw")))))))
+ "1ni6vf1yi14c0l895fk278x4na7ymhpkl1q0vnpzbkzplpa7200i"))))
(build-system python-build-system)
(propagated-inputs
`(("python-requests" ,python-requests)
@@ -3542,26 +3530,26 @@ which sends emails to HyperKitty, the official Mailman3 web archiver.")
(define-public python-hyperkitty
(package
(name "python-hyperkitty")
- (version "1.3.3")
+ (version "1.3.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "HyperKitty" version))
(sha256
(base32
- "0p85r9q6mn5as5b39xp9hkkipnk0156acx540n2ygk3qb3jd4a5n"))))
+ "11lz1s2p8n43h1cdr9l5dppsigg8qdppckdwdndzn7a8r8mj4sc2"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
- (setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH")))
(invoke "example_project/manage.py" "test"
- "--settings=hyperkitty.tests.settings_test"))))))
+ "--settings=hyperkitty.tests.settings_test"
+ "--pythonpath=."))))))
(propagated-inputs
`(("python-dateutil" ,python-dateutil)
- ("python-django" ,python-django-2.2)
+ ("python-django" ,python-django)
("python-django-compressor" ,python-django-compressor)
("python-django-extensions" ,python-django-extensions)
("python-django-gravatar2" ,python-django-gravatar2)
@@ -3571,6 +3559,7 @@ which sends emails to HyperKitty, the official Mailman3 web archiver.")
("python-djangorestframework" ,python-djangorestframework)
("python-flufl-lock" ,python-flufl-lock)
("python-mailmanclient" ,python-mailmanclient)
+ ("python-mistune-next" ,python-mistune-next)
("python-networkx" ,python-networkx)
("python-pytz" ,python-pytz)
("python-robot-detection" ,python-robot-detection)))
@@ -3578,6 +3567,7 @@ which sends emails to HyperKitty, the official Mailman3 web archiver.")
`(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-elasticsearch" ,python-elasticsearch)
("python-isort" ,python-isort)
+ ("python-lxml" ,python-lxml)
("python-mock" ,python-mock)
("python-whoosh" ,python-whoosh)))
(home-page "https://gitlab.com/mailman/hyperkitty")
@@ -4189,7 +4179,7 @@ Git and exports them in maildir format or to an MDA through a pipe.")
;; 'git' is invoked in various files of the PublicInbox
;; perl module.
`("PATH" ":" prefix
- (,(string-append (assoc-ref inputs "git") "/bin")))))
+ (,(dirname (search-input-file inputs "/bin/git"))))))
(find-files (string-append out "/bin"))))
#t)))))
(native-inputs