[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55903] [PATCH v4 41/41] gnu: Add aerc.
From: |
( |
Subject: |
[bug#55903] [PATCH v4 41/41] gnu: Add aerc. |
Date: |
Wed, 6 Jul 2022 11:18:30 +0100 |
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/mail.scm (aerc): New variable.
---
gnu/packages/mail.scm | 86 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index a03bf2fa05..4077fa18aa 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -48,6 +48,7 @@
;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2022 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2022 ( <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4692,3 +4693,88 @@ (define-public smtpmail
mailserver on their machine. It enables these users to send their mail over a
remote SMTP server.")
(license license:gpl2+)))
+
+(define-public aerc
+ (package
+ (name "aerc")
+ (version "0.10.0-20220703193224-4240f1fbfd09")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~rjarry/aerc")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19zq3dsyl46py29vpzkbicmg1wz50zx0fc8awp87ycp1jf8wfpka"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "git.sr.ht/~rjarry/aerc"
+ #:install-source? #f ; end-user application
+ #:build-flags
+ #~(list "-tags=notmuch" "-ldflags"
+ (string-append "-X main.Version="
+ #$(go-version->git-ref version)
+ " -X git.sr.ht/~rjarry/aerc/config.shareDir="
+ #$output "/share/aerc"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'doc
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "make" "doc"))))
+ (replace 'install
+ (lambda* (#:key outputs import-path #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (with-directory-excursion (string-append "src/"
import-path)
+ (invoke "make" "install"
+ (string-append "PREFIX=" out)))))))))
+ (inputs (list go-github-com-zenhack-go-notmuch
+ go-golang-org-x-oauth2
+ go-github-com-xo-terminfo
+ go-github-com-stretchr-testify
+ go-github-com-riywo-loginshell
+ go-github-com-pkg-errors
+ go-github-com-mitchellh-go-homedir
+ go-github-com-miolini-datacounter
+ go-github-com-mattn-go-runewidth
+ go-github-com-mattn-go-isatty
+ go-github-com-lithammer-fuzzysearch
+ go-github-com-kyoh86-xdg
+ go-github-com-imdario-mergo
+ go-github-com-google-shlex
+ go-github-com-go-ini-ini
+ go-github-com-gdamore-tcell
+ go-github-com-gatherstars-com-jwz
+ go-github-com-fsnotify-fsnotify
+ go-github-com-emersion-go-smtp
+ go-github-com-emersion-go-sasl
+ go-github-com-emersion-go-pgpmail
+ go-github-com-emersion-go-message
+ go-github-com-emersion-go-maildir
+ go-github-com-emersion-go-imap-sortthread
+ go-github-com-emersion-go-imap
+ go-github-com-emersion-go-msgauth
+ go-github-com-ddevault-go-libvterm
+ go-github-com-danwakefield-fnmatch
+ go-github-com-creack-pty
+ go-github-com-arran4-golang-ical
+ go-github-com-protonmail-go-crypto
+ go-github-com-syndtr-goleveldb-leveldb
+ go-git-sr-ht--sircmpwn-getopt))
+ (native-inputs (list scdoc))
+ (home-page "https://git.sr.ht/~rjarry/aerc")
+ (synopsis "Email client for the terminal")
+ (description "@code{aerc} is a textual email client for terminals. It
+features:
+@enumerate
+@item First-class support for using patches and @code{git send-email}
+@item Vi-like keybindings and command system
+@item A built-in console
+@item Support for multiple accounts
+@end enumerate")
+ ;; The license given is MIT/Expat; however, linking against notmuch
+ ;; effectively makes it GPL-3.0-or-later. See this thread discussing it:
+ ;;
<https://lists.sr.ht/~rjarry/aerc-devel/%3Cb5cb213a7d0c699a886971658c2476
+ ;; 1073eb2391%40disroot.org%3E>
+ (license license:gpl3+)))
--
2.36.1
- [bug#55903] [PATCH v4 30/41] gnu: Add go-github-com-lithammer-fuzzysearch., (continued)
- [bug#55903] [PATCH v4 30/41] gnu: Add go-github-com-lithammer-fuzzysearch., (, 2022/07/06
- [bug#55903] [PATCH v4 31/41] gnu: Add go-github-com-google-shlex., (, 2022/07/06
- [bug#55903] [PATCH v4 27/41] gnu: Add go-github-com-niemeyer-pretty., (, 2022/07/06
- [bug#55903] [PATCH v4 26/41] gnu: Add go-github-com-emersion-go-smtp., (, 2022/07/06
- [bug#55903] [PATCH v4 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt., (, 2022/07/06
- [bug#55903] [PATCH v4 25/41] gnu: Add go-github-com-emersion-go-pgpmail., (, 2022/07/06
- [bug#55903] [PATCH v4 23/41] gnu: Add go-github-com-emersion-go-imap-sortthread., (, 2022/07/06
- [bug#55903] [PATCH v4 24/41] gnu: Add go-github-com-protonmail-go-crypto., (, 2022/07/06
- [bug#55903] [PATCH v4 28/41] gnu: Add go-github-com-arran4-golang-ical., (, 2022/07/06
- [bug#55903] [PATCH v4 37/41] gnu: Add go-github-com-nxadm-tail., (, 2022/07/06
- [bug#55903] [PATCH v4 41/41] gnu: Add aerc.,
( <=
- [bug#55903] [PATCH v4 34/41] gnu: Add go-github-com-emersion-go-msgauth., (, 2022/07/06
- [bug#55903] [PATCH v4 39/41] gnu: Add go-github-com-onsi-ginkgo., (, 2022/07/06
- [bug#55903] [PATCH v4 01/41] gnu: Add go-github-com-zenhack-go-notmuch., (, 2022/07/06