gnu: notmuch: Update to 0.35.

* gnu/packages/mail.scm (notmuch): Update to 0.35.
[arguments]<#:phases>: Remove DISABLE-FAILING-TESTS phase.
This commit is contained in:
Nicolas Goaziou 2022-02-07 10:56:53 +01:00
parent abb197dfe9
commit fb3508bb36
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1335,14 +1335,14 @@ (define-public notifymuch
(define-public notmuch (define-public notmuch
(package (package
(name "notmuch") (name "notmuch")
(version "0.34.3") (version "0.35")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://notmuchmail.org/releases/notmuch-" (uri (string-append "https://notmuchmail.org/releases/notmuch-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 "1278r8x8l2hsxg8plbfk7w2md0fagdm243lm7df5m0gx7d411s9z")))) (base32 "0fdc81m24xrbhfrhw00g12ak4b8hap4961sq7ap6q2pjqhac8cd8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags `(#:make-flags
@ -1357,12 +1357,6 @@ (define-public notmuch
(invoke "./configure" (invoke "./configure"
(string-append "--prefix=" out) (string-append "--prefix=" out)
"--without-emacs")))) "--without-emacs"))))
(add-before 'check 'disable-failing-tests
;; FIXME: Investigate why these tests are failing,
;; and try removing this for notmuch versions > 0.31.
(lambda _
(substitute* "test/T356-protected-headers.sh"
(("\\$NOTMUCH_GMIME_X509_CERT_VALIDITY") "0"))))
(add-before 'check 'prepare-test-environment (add-before 'check 'prepare-test-environment
(lambda _ (lambda _
(setenv "TEST_CC" ,(cc-for-target)) (setenv "TEST_CC" ,(cc-for-target))
@ -1377,7 +1371,7 @@ (define-public notmuch
python-sphinx python-sphinx
texinfo texinfo
;; The following are required for tests only. ;; The following are required for tests only.
emacs-no-x ; -minimal lacks libxml, needed for some tests emacs-no-x ; -minimal lacks libxml, needed for some tests
which which
dtach dtach
gnupg gnupg