gnu: aerc: Update to 0.15.2.

* gnu/packaging/mail.scm (aerc): Update to 0.15.2.
[arguments]: Tweak build flags and make command.
[inputs]: Add python and python-vobject.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
guix-patches--- via 2023-06-22 18:58:44 +09:00 committed by Christopher Baines
parent acec1348fb
commit 102cbfd97c
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -4855,7 +4855,7 @@ (define-public smtpmail
(define-public aerc (define-public aerc
(package (package
(name "aerc") (name "aerc")
(version "0.14.0") (version "0.15.2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -4864,17 +4864,20 @@ (define-public aerc
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"067j7kja78hv7dafw8gy3m2g5cslq6xlnzja8lm3b5p0m0vfabm8")))) "1gbprx0i8d13q974n5hsys6lllav5cpll3cwrr1hfw6307hc001r"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list #:import-path "git.sr.ht/~rjarry/aerc" (list #:import-path "git.sr.ht/~rjarry/aerc"
;; Installing the source is only necessary for Go libraries. ;; Installing the source is only necessary for Go libraries.
#:install-source? #f #:install-source? #f
#:build-flags #:build-flags
#~(list "-tags=notmuch" "-ldflags" #~(list "-tags=notmuch"
(string-append "-X main.Version=" #$version (string-append
" -X git.sr.ht/~rjarry/aerc/config.shareDir=" "-ldflags=-X main.Version=" #$version
#$output "/share/aerc")) " -X git.sr.ht/~rjarry/aerc/config.libexecDir="
#$output "/libexec/aerc"
" -X git.sr.ht/~rjarry/aerc/config.shareDir="
#$output "/share/aerc"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths (add-after 'unpack 'patch-paths
@ -4912,7 +4915,7 @@ (define-public aerc
(string-append "src/" import-path)))) (string-append "src/" import-path))))
(replace 'install (replace 'install
(lambda* (#:key import-path build-flags #:allow-other-keys) (lambda* (#:key import-path build-flags #:allow-other-keys)
(invoke "make" "install" "-C" (invoke "make" "CC=gcc" "install" "-C"
(string-append "src/" import-path) (string-append "src/" import-path)
(string-append "PREFIX=" #$output))))))) (string-append "PREFIX=" #$output)))))))
(inputs (list gnupg (inputs (list gnupg
@ -4951,6 +4954,8 @@ (define-public aerc
go-github-com-syndtr-goleveldb-leveldb go-github-com-syndtr-goleveldb-leveldb
go-git-sr-ht-sircmpwn-getopt go-git-sr-ht-sircmpwn-getopt
go-git-sr-ht-rockorager-tcell-term go-git-sr-ht-rockorager-tcell-term
python
python-vobject
zoxide)) zoxide))
(native-inputs (list scdoc)) (native-inputs (list scdoc))
(home-page "https://git.sr.ht/~rjarry/aerc") (home-page "https://git.sr.ht/~rjarry/aerc")