gnu: notmuch-addrlookup-c: Update to 9.

* gnu/packages/mail.scm (notmuch-addrlookup-c): Update to 9.
[arguments]: Remove PREFIX from #:make-flags.
This commit is contained in:
Arun Isaac 2019-04-23 20:14:16 +05:30
parent 74ee98eed4
commit 9694b44e3b
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 36 additions and 44 deletions

View File

@ -919,51 +919,43 @@ ing, and tagging large collections of email messages.")
(license gpl3+))) (license gpl3+)))
(define-public notmuch-addrlookup-c (define-public notmuch-addrlookup-c
;; This commit includes a compatibility fix for notmuch-0.25, and is not (package
;; currently part of any release. Please update this package when (name "notmuch-addrlookup-c")
;; notmuch-addrlookup-c-9 is released. (version (string-append "9"))
(let ((commit "88f156d04990a71c6ad6fc2757b537b44e3c4d00") (source (origin
(revision "1")) ;Guix package revision (method git-fetch)
(package (uri (git-reference
(name "notmuch-addrlookup-c") (url "https://github.com/aperezdc/notmuch-addrlookup-c.git")
(version (string-append "8-" revision "." (commit (string-append "v" version))))
(string-take commit 7))) (file-name (string-append name "-" version "-checkout"))
(source (origin (sha256
(method git-fetch) (base32
(uri (git-reference "1j3zdx161i1x4w0nic14ix5i8hd501rb31daf8api0k8855sx4rc"))))
(url "https://github.com/aperezdc/notmuch-addrlookup-c.git") (build-system gnu-build-system)
(commit commit))) (arguments
(file-name (string-append name "-" version "-checkout")) '(#:tests? #f ; no tests
(sha256 #:make-flags (list "CC=gcc")
(base32 #:phases (modify-phases %standard-phases
"0v0wzs7qzy4n1hbql8s10qrwgalcxdzbxf8pj6cii1pv2jwmkxbm")))) (delete 'configure)
(build-system gnu-build-system) ;; Remove vim code completion config, it's not needed to
(arguments ;; build (or be patched).
'(#:tests? #f ; no tests (add-before 'patch-source-shebangs 'delete-ycm-file
#:make-flags (list "CC=gcc" (lambda _ (delete-file ".ycm_extra_conf.py")))
(string-append "PREFIX=" (replace 'install
(assoc-ref %outputs "out"))) (lambda* (#:key outputs #:allow-other-keys)
#:phases (modify-phases %standard-phases (let ((bin (string-append
(delete 'configure) (assoc-ref outputs "out") "/bin")))
;; Remove vim code completion config, it's not needed to (install-file "notmuch-addrlookup" bin)))))))
;; build (or be patched). (native-inputs
(add-before 'patch-source-shebangs 'delete-ycm-file `(("pkg-config" ,pkg-config)))
(lambda _ (delete-file ".ycm_extra_conf.py"))) (inputs
(replace 'install `(("glib" ,glib)
(lambda* (#:key outputs #:allow-other-keys) ("notmuch" ,notmuch)))
(let ((bin (string-append (home-page "https://github.com/aperezdc/notmuch-addrlookup-c")
(assoc-ref outputs "out") "/bin"))) (synopsis "Address lookup tool for Notmuch")
(install-file "notmuch-addrlookup" bin))))))) (description "This is an address lookup tool using a Notmuch database,
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("glib" ,glib)
("notmuch" ,notmuch)))
(home-page "https://github.com/aperezdc/notmuch-addrlookup-c")
(synopsis "Address lookup tool for Notmuch")
(description "This is an address lookup tool using a Notmuch database,
useful for email address completion.") useful for email address completion.")
(license license:expat)))) (license license:expat)))
(define-public python-notmuch (define-public python-notmuch
(package (package