summaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorguix-patches--- via <guix-patches@gnu.org>2023-06-22 18:58:44 +0900
committerChristopher Baines <mail@cbaines.net>2023-06-26 09:59:10 +0100
commit102cbfd97c58c89d377ef690c603bcb98d922efe (patch)
tree29d3e92f90badb40c1b3ef04cef2432abc05a9a4 /gnu/packages/mail.scm
parentacec1348fbc4731a9ed173d6f40740e285d10b3e (diff)
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>
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm19
1 files changed, 12 insertions, 7 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b35cfcd58c..9481fc5559 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4855,7 +4855,7 @@ remote SMTP server.")
(define-public aerc
(package
(name "aerc")
- (version "0.14.0")
+ (version "0.15.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -4864,17 +4864,20 @@ remote SMTP server.")
(file-name (git-file-name name version))
(sha256
(base32
- "067j7kja78hv7dafw8gy3m2g5cslq6xlnzja8lm3b5p0m0vfabm8"))))
+ "1gbprx0i8d13q974n5hsys6lllav5cpll3cwrr1hfw6307hc001r"))))
(build-system go-build-system)
(arguments
(list #:import-path "git.sr.ht/~rjarry/aerc"
;; Installing the source is only necessary for Go libraries.
#:install-source? #f
#:build-flags
- #~(list "-tags=notmuch" "-ldflags"
- (string-append "-X main.Version=" #$version
- " -X git.sr.ht/~rjarry/aerc/config.shareDir="
- #$output "/share/aerc"))
+ #~(list "-tags=notmuch"
+ (string-append
+ "-ldflags=-X main.Version=" #$version
+ " -X git.sr.ht/~rjarry/aerc/config.libexecDir="
+ #$output "/libexec/aerc"
+ " -X git.sr.ht/~rjarry/aerc/config.shareDir="
+ #$output "/share/aerc"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
@@ -4912,7 +4915,7 @@ remote SMTP server.")
(string-append "src/" import-path))))
(replace 'install
(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 "PREFIX=" #$output)))))))
(inputs (list gnupg
@@ -4951,6 +4954,8 @@ remote SMTP server.")
go-github-com-syndtr-goleveldb-leveldb
go-git-sr-ht-sircmpwn-getopt
go-git-sr-ht-rockorager-tcell-term
+ python
+ python-vobject
zoxide))
(native-inputs (list scdoc))
(home-page "https://git.sr.ht/~rjarry/aerc")