gnu: notmuch: Update to 0.20.2.

* gnu/packages/mail.scm (notmuch): Update to 0.20.2.  Add python-sphinx native
  input.  Rewrite phases using 'modify-phases' syntax.
This commit is contained in:
David Thompson 2015-08-15 22:23:59 -04:00
parent 07cd148c7a
commit eb537f5748
1 changed files with 13 additions and 18 deletions

View File

@ -365,36 +365,31 @@ attachments, create new maildirs, and so on.")
(define-public notmuch (define-public notmuch
(package (package
(name "notmuch") (name "notmuch")
(version "0.19") (version "0.20.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://notmuchmail.org/releases/notmuch-" (uri (string-append "http://notmuchmail.org/releases/notmuch-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1szf6c44g209pcjq5nvfhlp3nzcm3lrcwv4spsxmwy13hiaccvrr")))) "1v5dcnlg4km5hfaq0i0qywq5fn66fi0rq4aaibyqkwxz8mis4hgp"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ;; FIXME: Test suite hangs and times out. '(#:tests? #f ;; FIXME: 637 tests; 70 fail and 98 are skipped
#:phases (alist-replace #:phases (modify-phases %standard-phases
'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(setenv "CC" "gcc") (setenv "CC" "gcc")
(setenv "CONFIG_SHELL" (which "sh")) (setenv "CONFIG_SHELL" (which "sh"))
;; XXX Should python-docutils make a symlink (let ((out (assoc-ref outputs "out")))
;; for "rst2man" and other similar programs? (zero? (system* "./configure"
(substitute* '("configure" "doc/prerst2man.py") (string-append "--prefix=" out)))))))))
((" rst2man ") " rst2man.py "))
(let ((out (assoc-ref outputs "out")))
(zero? (system* "./configure"
(string-append "--prefix=" out)))))
%standard-phases)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("python" ,python-2) ("python" ,python-2)
("python2-docutils" ,python2-docutils) ("python-docutils" ,python2-docutils)
("python-sphinx" ,python2-sphinx)
("bash-completion" ,bash-completion))) ("bash-completion" ,bash-completion)))
(inputs (inputs
`(("emacs" ,emacs) `(("emacs" ,emacs)