unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Martin Becze <mjbecze@riseup.net>
To: 37444@debbugs.gnu.org
Cc: Martin Becze <mjbecze@riseup.net>
Subject: [bug#37444] [PATCH v3 21/23] added aerc, a simple email client
Date: Thu, 26 Sep 2019 11:21:16 -0400	[thread overview]
Message-ID: <20190926152118.8073-21-mjbecze@riseup.net> (raw)
In-Reply-To: <20190926152118.8073-1-mjbecze@riseup.net>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=^[OB^[OA, Size: 5278 bytes --]

---
 gnu/packages/mail.scm | 81 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3d5417bfb5..7631438e0a 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -28,6 +28,7 @@
 ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
 ;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019 Martin Becze <mjbecze@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -74,6 +75,7 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages gsasl)
   #:use-module (gnu packages gtk)
@@ -111,6 +113,7 @@
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tcl)
   #:use-module (gnu packages texinfo)
+  #:use-module (gnu packages textutils)
   #:use-module (gnu packages time)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
@@ -133,6 +136,7 @@
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system guile)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial))
@@ -3082,3 +3086,80 @@ related tools to process winmail.dat files.")
 complement or replace traditional mailing lists.  Readers may read via NNTP,
 Atom feeds or HTML archives.")
      (license agpl3+))))
+
+(define-public aerc
+  (let ((url "https://git.sr.ht/~sircmpwn/aerc"))
+    (package
+      (name "aerc")
+      (version "0.2.1")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url url)
+               (commit version)))
+         (sha256
+          (base32
+           "0l063pnz02r4jsg0kd9jp8m5nq10n5q9zdjpx26gfnd9ww4fs46h"))
+         (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "git.sr.ht/~sircmpwn/aerc"
+         #:install-source? #f
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'setup-go-environment 'setup-make-environment
+             (lambda* (#:key outputs #:allow-other-keys)
+               (setenv "PREFIX" (assoc-ref outputs "out"))
+               #t))
+           (replace 'build
+             (lambda _
+               (with-directory-excursion "src/git.sr.ht/~sircmpwn/aerc"
+                 (invoke "make"))))
+           (replace 'install
+             (lambda _
+               (with-directory-excursion "src/git.sr.ht/~sircmpwn/aerc"
+                 (invoke "make" "install"))))
+           (add-after 'install 'wrap-program
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (let ((ncurses (assoc-ref inputs "ncurses"))
+                     (out (assoc-ref outputs "out")))
+                 (wrap-program (string-append out "/bin/aerc")
+                   `("PATH" ":" prefix (,(string-append ncurses "/bin")))))
+               #t)))))
+      (inputs
+       `(("ncurses" ,ncurses)))
+      (native-inputs
+       `(("scdoc" ,scdoc)
+         ("automake" ,automake)
+         ("go-git-sr-ht-sircmpwn-getopt" ,go-git-sr-ht-sircmpwn-getopt)
+         ("go-git-sr-ht-sircmpwn-pty" ,go-git-sr-ht-sircmpwn-pty)
+         ("go-git-sr-ht-sircmpwn-tcell" ,go-git-sr-ht-sircmpwn-tcell)
+         ("go-github-com-danwakefield-fnmatch"
+	 ,go-github-com-danwakefield-fnmatch)
+         ("go-github-com-ddevault-go-libvterm"
+	 ,go-github-com-ddevault-go-libvterm)
+         ("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
+         ("go-github-com-emersion-go-imap-idle"
+	 ,go-github-com-emersion-go-imap-idle)
+         ("go-github-com-emersion-go-maildir" ,go-github-com-emersion-go-maildir)
+         ("go-github-com-emersion-go-message" ,go-github-com-emersion-go-message)
+         ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+         ("go-github-com-emersion-go-smtp" ,go-github-com-emersion-go-smtp)
+         ("go-github-com-fsnotify-fsnotify" ,go-github-com-fsnotify-fsnotify)
+         ("go-github-com-go-ini-ini" ,go-github-com-go-ini-ini)
+         ("go-github-com-google-shlex" ,go-github-com-google-shlex)
+         ("go-github-com-kyoh86-xdg" ,go-github-com-kyoh86-xdg)
+         ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
+         ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+         ("go-github-com-miolini-datacounter" ,go-github-com-miolini-datacounter)
+         ("go-github-com-mitchellh-go-homedir"
+	 ,go-github-com-mitchellh-go-homedir)
+         ("go-github-com-pkg-errors" ,go-github-com-pkg-errors)
+         ("go-github-com-riywo-loginshell" ,go-github-com-riywo-loginshell)
+         ("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2)))
+      (home-page url)
+      (synopsis "An email client for your terminal")
+      (description "Join the IRC channel: #aerc on irc.freenode.net for end-user
+ support, and #aerc-dev for development.")
+      (license license:expat))))
-- 
2.23.0

  parent reply	other threads:[~2019-09-26 15:23 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-18  8:23 [bug#37444] [PATCH] added aerc, a simple email client and its dependcies Martin Becze
2019-09-18  9:01 ` Ricardo Wurmus
2019-09-18  9:20   ` Martin Becze
2019-09-18  9:29   ` Martin Becze
2019-09-18  9:42     ` Björn Höfling
2019-09-18  9:48     ` Tobias Geerinckx-Rice via Guix-patches via
2019-09-22  8:55   ` Martin Becze
2019-09-26  9:37     ` Ludovic Courtès
2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
2019-09-26 15:20         ` [bug#37444] [PATCH v3 02/23] added go package go-github-com-danwakefield-fnmatch Martin Becze
2019-09-26 15:20         ` [bug#37444] [PATCH v3 03/23] added go package go-github-com-ddevault-go-libvterm Martin Becze
2019-09-26 15:20         ` [bug#37444] [PATCH v3 04/23] added go package go-github-com-emersion-go-imap Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 05/23] added go package go-github-com-emersion-go-sasl Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 06/23] add go package go-github-com-emersion-go-imap-idle Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 07/23] added go package go-github-com-emersion-go-maildir Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 08/23] added go package go-github-com-emersion-go-message Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 09/23] added go package go-github-com-emersion-go-textwrapper Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 10/23] added go package go-github-com-emersion-go-smtp Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 11/23] added go package go-github-com-fsnotify-fsnotify Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 12/23] added go package go-github-com-go-ini-ini Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 13/23] added go package go-github-com-google-shlex Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 14/23] added go package go-github-com-kyoh86-xdg Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 15/23] added go package go-github-com-martinlindhe-base36 Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 16/23] added go package go-github-com-miolini-datacounter Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 17/23] added go package go-github-com-riywo-loginshell Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 18/23] added go package go-git-sr-ht-sircmpwn-getopt Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 19/23] added go package go-git-sr-ht-sircmpwn-pty Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 20/23] added go package go-git-sr-ht-sircmpwn-tcell Martin Becze
2019-09-26 15:21         ` Martin Becze [this message]
2019-09-26 15:21         ` [bug#37444] [PATCH v3 22/23] updated go-github-com-mitchellh-go-homedir to version 1.1.0 Martin Becze
2019-09-26 15:21         ` [bug#37444] [PATCH v3 23/23] progagated inputs for gdamore-encoding, since this is a source only package and the go compiler needs its dependency when used as an input in another package Martin Becze
2019-10-01 21:34       ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies Martin Becze
2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 02/24] added go package go-github-com-mattn-go-pointer Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 03/24] added go package go-github-com-danwakefield-fnmatch Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 04/24] added go package go-github-com-ddevault-go-libvterm Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 05/24] added go package go-github-com-emersion-go-imap Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 06/24] added go package go-github-com-emersion-go-sasl Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 07/24] add go package go-github-com-emersion-go-imap-idle Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 08/24] added go package go-github-com-emersion-go-maildir Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 09/24] added go package go-github-com-emersion-go-message Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 10/24] added go package go-github-com-emersion-go-textwrapper Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 11/24] added go package go-github-com-emersion-go-smtp Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 12/24] added go package go-github-com-fsnotify-fsnotify Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 13/24] added go package go-github-com-go-ini-ini Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 14/24] added go package go-github-com-google-shlex Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 15/24] added go package go-github-com-kyoh86-xdg Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 16/24] added go package go-github-com-martinlindhe-base36 Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 17/24] added go package go-github-com-miolini-datacounter Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 18/24] added go package go-github-com-riywo-loginshell Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 19/24] added go package go-git-sr-ht-sircmpwn-getopt Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 20/24] added go package go-git-sr-ht-sircmpwn-pty Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 21/24] added go package go-git-sr-ht-sircmpwn-tcell Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 22/24] added aerc, a simple email client Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 23/24] updated go-github-com-mitchellh-go-homedir to version 1.1.0 Martin Becze
2019-10-01 21:37           ` [bug#37444] [PATCH v4 24/24] progagated inputs for gdamore-encoding, since this is a source only package and the go compiler needs its dependency when used as an input in another package Martin Becze
2019-09-18 15:36 ` [bug#37444] [PATCH v2 1/4] Added the dependcies for aerc. NOTE i tried to place depency authors next to each other Martin Becze
2019-09-18 15:36   ` [bug#37444] [PATCH v2 2/4] added aerc, a simple email client Martin Becze
2019-09-18 15:36   ` [bug#37444] [PATCH v2 3/4] updated go-github-com-mitchellh-go-homedir to version 1.1.0 Martin Becze
2019-09-18 15:36   ` [bug#37444] [PATCH v2 4/4] progagated inputs for gdamore-encoding, since this is a source only package and the go compiler needs its dependency when used as an input in another package Martin Becze
2022-06-11 20:10 ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies ( via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190926152118.8073-21-mjbecze@riseup.net \
    --to=mjbecze@riseup.net \
    --cc=37444@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).