diff options
author | Pierre Langlois <pierre.langlois@gmx.com> | 2020-04-18 16:19:39 +0200 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2020-04-19 18:36:27 -0400 |
commit | 096a0527a18696f8b4fb71af6fba2cd8377060f5 (patch) | |
tree | b24be7b314f02d1485d2267dfbbe595722f877da /gnu/packages/mail.scm | |
parent | 5e7076f2a54e84894b5d8f3ef719e7a552b5bb03 (diff) | |
download | patches-096a0527a18696f8b4fb71af6fba2cd8377060f5.tar patches-096a0527a18696f8b4fb71af6fba2cd8377060f5.tar.gz |
gnu: mu: Update to 1.4.
* gnu/packages/mail.scm (mu): Update to 1.4.
[arguments]: Remove 'fix-date-tests phase. Add 'patch-bin-sh-in-tests phase.
Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r-- | gnu/packages/mail.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index d2ec51f27a..b553305d46 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -714,7 +714,7 @@ security functionality including PGP, S/MIME, SSH, and SSL.") (define-public mu (package (name "mu") - (version "1.2.0") + (version "1.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/djcb/mu/releases/" @@ -722,7 +722,7 @@ security functionality including PGP, S/MIME, SSH, and SSL.") "mu-" version ".tar.xz")) (sha256 (base32 - "0fh5bxvhjqv1p9z783lym8y1k3p4jcc3wg6wf7zl8s6w8krcfd7n")))) + "1ay68rhlngnp2zm6wdmzgr1fsal3spz61swcxlaz5y215qvgjfpy")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -757,13 +757,14 @@ security functionality including PGP, S/MIME, SSH, and SSL.") "guile/mu/Makefile.in") (("share/guile/site/2.0/") "share/guile/site/2.2/")) #t)) - (add-after 'patch-configure 'fix-date-tests - ;; Loosen test tolerances to prevent failures caused by daylight - ;; saving time (DST). See: https://github.com/djcb/mu/issues/1214. + (add-after 'unpack 'patch-bin-sh-in-tests (lambda _ - (substitute* "lib/parser/test-utils.cc" - (("\\* 60 \\* 60, 1 },") - "* 60 * 60, 3600 + 1 },")) + (substitute* '("guile/tests/test-mu-guile.c" + "mu/test-mu-cmd.c" + "mu/test-mu-cmd-cfind.c" + "mu/test-mu-query.c" + "mu/test-mu-threads.c") + (("/bin/sh") (which "sh"))) #t)) (add-before 'install 'fix-ffi (lambda* (#:key outputs #:allow-other-keys) |