unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
@ 2019-09-18  8:23 Martin Becze
  2019-09-18  9:01 ` Ricardo Wurmus
                   ` (2 more replies)
  0 siblings, 3 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18  8:23 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
This adds aerc, which is a terminal based email client written in go. 

 gnu/packages/golang.scm | 579 +++++++++++++++++++++++++++++++++++++++-
 gnu/packages/mail.scm   |  74 +++++
 2 files changed, 646 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 819cc6229e..52f3e56d40 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -16,6 +16,7 @@
 ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
 ;;; Copyright @ 2019 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2019 Martin Becze <mjbecze@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -801,6 +802,31 @@ expressing configuration which is easy for both humans and machines to read.")
 Go programming language.")
       (home-page "https://go.googlesource.com/tools/")
       (license license:bsd-3))))
+(define-public go-golang-org-x-oauth2
+  (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
+        (url "https://go.googlesource.com/oauth2"))
+    (package
+      (name "go-golang-org-x-oauth2")
+      (version (git-version "0.0.0" "0" commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url url)
+                      (commit commit)))
+                (file-name (string-append "go.googlesource.com-oauth2-"
+                                          version "-checkout"))
+                (sha256
+                 (base32
+                  "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "golang.org/x/oauth2"))
+      (propagated-inputs
+       `(("go-golang-org-x-net-context" ,go-golang-org-x-net-context)))
+      (synopsis "oauth2 package contains a client implementation for OAuth 2.0 spec.")
+      (description "This package contains a client implementation for OAuth 2.0 spec.")
+      (home-page url)
+      (license license:bsd-3))))
 
 (define-public go-golang-org-x-crypto
   (let ((commit "b7391e95e576cacdcdd422573063bc057239113d")
@@ -2918,21 +2944,19 @@ statistics for wrapped connections.")
       (license license:expat))))
 
 (define-public go-github-com-mitchellh-go-homedir
-  (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
-        (revision "0"))
     (package
       (name "go-github-com-mitchellh-go-homedir")
-      (version (git-version "1.0.0" revision commit))
+      (version "1.1.0")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/mitchellh/go-homedir.git")
-               (commit commit)))
+               (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
+           "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1"))))
       (build-system go-build-system)
       (arguments
        (quote (#:import-path "github.com/mitchellh/go-homedir"
@@ -2954,7 +2978,7 @@ package cannot cross compile.  But 99% of the time the use for
 @command{os/user} is just to retrieve the home directory, which we can do for
 the current user without cgo.  This library does that, enabling
 cross-compilation.")
-      (license license:expat))))
+      (license license:expat)))
 
 (define-public go-github-com-multiformats-go-multiaddr
   (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
@@ -3383,7 +3407,7 @@ colorspaces.")
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/gdamore/encoding"))
-    (inputs
+    (propagated-inputs
      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
     (home-page "https://github.com/gdamore/encoding")
@@ -3437,6 +3461,30 @@ formatting.  It also favors portability, and includes support for all POSIX
 systems.")
       (license license:expat))))
 
+(define-public go-github-com-mattn-go-pointer
+  (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
+        (url "https://github.com/mattn/go-pointer"))
+    (package
+      (name "go-github-com-mattn-go-pointer")
+      (version (git-version "0.0.0" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url url)
+               (commit commit)))
+         (sha256
+          (base32
+           "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
+         (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/mattn/go-pointer"))
+      (home-page url)
+      (synopsis "Utility for cgo")
+      (description "Utility for cgo")
+      (license license:expat))))
+
 (define-public go-github-com-mattn-go-shellwords
   (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
         (version "1.0.5")
@@ -3686,3 +3734,520 @@ on running processes and system utilization (CPU, memory, disks, network,
 sensors).")
       (home-page "https://github.com/shirou/gopsutil")
       (license license:bsd-3))))
+
+(define-public go-github-com-danwakefield-fnmatch
+  (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
+        (url "https://github.com/danwakefield/fnmatch"))
+    (package
+     (name "go-github-com-danwakefield-fnmatch")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/danwakefield/fnmatch"))
+     (home-page url)
+     (synopsis "Updated clone of kballards golang fnmatch
+ gist (https://gist.github.com/kballard/272720)")
+     (description "Updated clone of kballards golang fnmatch
+gist (https://gist.github.com/kballard/272720)")
+     (license license:bsd-2))))
+
+(define-public go-github-com-ddevault-go-libvterm
+  (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
+        (url "https://github.com/ddevault/go-libvterm"))
+    (package
+     (name "go-github-com-ddevault-go-libvterm")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/ddevault/go-libvterm"))
+     (propagated-inputs
+      `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
+     (home-page url)
+     (synopsis "Go binding to libvterm")
+     (description "This is a personal fork for use with aerc. Breaking changes
+ will come unannounced.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap
+  (let ((url "https://github.com/emersion/go-imap"))
+    (package
+     (name "go-github-com-emersion-go-imap")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap"))
+     (native-inputs
+      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "An IMAP4rev1 library written in Go")
+     (description "An IMAP4rev1 library written in Go. It can be used to build
+ a client and/or a server.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-sasl
+  (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
+        (url "https://github.com/emersion/go-sasl"))
+    (package
+     (name "go-github-com-emersion-go-sasl")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-sasl"))
+     (home-page url)
+     (synopsis "A SASL library written in Go")
+     (description "A SASL library written in Go.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap-idle
+  (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
+        (url "https://github.com/emersion/go-imap-idle"))
+    (package
+     (name "go-github-com-emersion-go-imap-idle")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap-idle"))
+     (native-inputs
+      `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
+        ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "IDLE extension for go-imap")
+     (description "IDLE extension for go-imap.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-maildir
+  (let ((url "https://github.com/emersion/go-maildir")
+        (commit "941194b0ac705efac39bd89c5eae6cce84b26202"))
+    (package
+     (name "go-github-com-emersion-go-maildir")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emersion/go-maildir")
+             (commit commit)))
+       (sha256
+        (base32
+         "10dm0qvjm4payh2hfifwfpz9511fngp2vaf2yrg111di67x1148m"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-maildir"))
+     (home-page url)
+     (synopsis "A Go library for maildir")
+     (description "A Go library for maildir.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-message
+  (let ((url "https://github.com/emersion/go-message"))
+    (package
+     (name "go-github-com-emersion-go-message")
+     (version "0.10.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "05s6x6x5k5b4qmfam716b5wi47rrvj702lfkc6gr681z64g2hirb"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-message"))
+     (propagated-inputs
+      `(("go-github-com-emersion-go-textwrapper"
+         ,go-github-com-emersion-go-textwrapper)
+        ("go-github-com-martinlindhe-base36"
+	 ,go-github-com-martinlindhe-base36)))
+     (home-page url)
+     (synopsis "A Go library for the Internet Message Format")
+     (description "A Go library for the Internet Message Format. It implements:
+@itemize
+@item RFC 5322: Internet Message Format
+@item RFC 2045, RFC 2046 and RFC 2047: Multipurpose Internet Mail Extensions
+@item RFC 2183: Content-Disposition Header Field
+@end itemize")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-textwrapper
+  (let ((url "https://github.com/emersion/go-textwrapper")
+        (commit "d0e65e56babe3f687ff94c1d764ca0e6aa7723ee"))
+    (package
+     (name "go-github-com-emersion-go-textwrapper")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1nw8qpjjbpkz49wd19yg2qsln1dmdfxi83wp2aa819cv6xxf2y7l"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-textwrapper"))
+     (home-page url)
+     (synopsis "A writer that wraps long text lines to a specified length")
+     (description "A writer that wraps long text lines to a specified length")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-smtp
+  (let ((url "https://github.com/emersion/go-smtp"))
+    (package
+     (name "go-github-com-emersion-go-smtp")
+     (version "0.11.2")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "08v7x513hxkfyihixp0cdy4cmf2j9hw1yzm7bzy5g95fai71azm0"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-smtp"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)))
+     (home-page url)
+     (synopsis "An ESMTP client and server library written in Go")
+     (description "An ESMTP client and server library written in Go. It features:
+@itemize
+@item ESMTP client & server implementing RFC 532
+@item Support for SMTP AUTH and PIPELINING
+@item UTF-8 support for subject and message
+@item LMTP support
+@end itemize ")
+     (license license:expat))))
+
+(define-public go-github-com-fsnotify-fsnotify
+  (let ((url "https://github.com/fsnotify/fsnotify"))
+    (package
+     (name "go-github-com-fsnotify-fsnotify")
+     (version "1.4.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/fsnotify/fsnotify"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-sys-unix",go-golang-org-x-sys-unix)))
+     (home-page url)
+     (synopsis "File system notifications for Go")
+     (description "File system notifications for Go")
+     (license license:bsd-3))))
+
+(define-public go-github-com-go-ini-ini
+  (let ((url "https://github.com/go-ini/ini"))
+    (package
+     (name "go-github-com-go-ini-ini")
+     (version "1.44.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "072fhg4i5k26pxq3kg5y5h9lb9w5ka75jl000q5bjcdv2yf8qhcv"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/go-ini/ini"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "Package ini provides INI file read and write functionality in Go")
+     (description "Package ini provides INI file read and write functionality in Go.")
+     (license license:asl2.0))))
+
+(define-public go-github-com-google-shlex
+  (let ((commit "c34317bd91bf98fab745d77b03933cf8769299fe")
+        (url "https://github.com/google/shlex"))
+    (package
+     (name "go-github-com-google-shlex")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "00qivza4hkllfkar2vpqmyxybi0fwqipgijv61dgapq4xddxdq0r"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/google/shlex"))
+     (home-page url)
+     (synopsis "A simple lexer")
+     (description "go-shlex is a simple lexer for go that supports shell-style 
+quoting, commenting, and escaping.")
+     (license license:asl2.0))))
+
+(define-public go-github-com-kyoh86-xdg
+  (let ((url "https://github.com/kyoh86/xdg"))
+    (package
+     (name "go-github-com-kyoh86-xdg")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "02wrm9rl6qqv3nr2n5yariwg1rgr7w76l1sp0ak1kxin1y184ivf"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/kyoh86/xdg"))
+     (home-page url)
+     (synopsis "Light weight helper functions in golang to get config, data and
+ cache files according to the XDG Base Directory Specification")
+     (description "Light weight helper functions in golang to get config, data
+ and cache files according to the XDG Base Directory Specification.")
+     (license license:expat))))
+
+(define-public go-github-com-martinlindhe-base36
+  (let ((url "https://github.com/martinlindhe/base36"))
+    (package
+     (name "go-github-com-martinlindhe-base36")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "0hib6cnx543fxbcy7fm3kcfz8ajhd90kxzbld49qi7w930pcz26c"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/martinlindhe/base36"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "Implements Base36 encoding and decoding")
+     (description "Implements Base36 encoding and decoding, which is useful to
+ represent large integers in a case-insensitive alphanumeric way.")
+     (license license:expat))))
+
+(define-public go-github-com-miolini-datacounter
+  (let ((url "https://github.com/miolini/datacounter")
+        (commit "aa48df3a02c1fbcd3040271f631887991c3071fb"))
+    (package
+     (name "go-github-com-miolini-datacounter")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "12ldh5jhafjhh3jvh979mldwygkkcnm97axs7dhlai6gqwlhls87"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/miolini/datacounter"))
+     (home-page url)
+     (synopsis "Golang counters for readers/writers")
+     (description "Golang counters for readers/writers")
+     (license license:expat))))
+
+(define-public go-github-com-riywo-loginshell
+  (let ((url "https://github.com/riywo/loginshell")
+        (commit "2ed199a032f65b5e6a0a1294abc96b7d3efade86"))
+    (package
+     (name "go-github-com-riywo-loginshell")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1chhpp22kd3r2h84206bvdjj6815n4r6pjq8n9jhav9mfal4qvzj"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/riywo/loginshell"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "A golang library to get the login shell of the current user")
+     (description "A golang library to get the login shell of the current user.")
+     (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-getopt
+  (let ((commit "daaf1274538b02b41238d1e6c219186c76af3b8c")
+        (url "https://git.sr.ht/~sircmpwn/getopt"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-getopt")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0qf9kmzs3h4vzcbc1ha0z68ivckzvl7jq9jwb8rbbaq0d1a6baq7"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/getopt"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "A POSIX-compatible getopt implementation for Go")
+     (description "A POSIX-compatible getopt implementation for Go, because
+ POSIX getopt is The Correct Way to interpret arguments to command line utilities.")
+     (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-pty
+  (let ((commit "3a43678975a9cb13dbcf05ea7a1611ebce3eadb2")
+        (url "https://git.sr.ht/~sircmpwn/pty"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-pty")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1spa779vb2j1vgwm1cpbmf7f8wj6zwyyy49ihz134izvah7vncsw"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/pty"))
+     (home-page url)
+     (synopsis "A Go package for using unix pseudo-terminals")
+     (description "Pty is a Go package for using unix pseudo-terminals.")
+     (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-tcell
+  (let ((commit "3fdb6bc01a5035fe7cd57b9b0b56166a44db8620")
+        (version "0.0.0"))
+    (package
+      (name "go-git-sr-ht-sircmpwn-tcell")
+      (version (git-version version "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.sr.ht/~sircmpwn/tcell")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1g7vx0qzwp6wsp47l2rabmkrxp7x3z8s94gjf6722z7sfb8xybas"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/gdamore/tcell"
+         #:unpack-path "github.com/gdamore/tcell"
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'reset-gzip-timestamps 'make-files-writable
+             (lambda* (#:key outputs #:allow-other-keys)
+               ;; Make sure .gz files are writable so that the
+               ;; 'reset-gzip-timestamps' phase can do its work.
+               (let ((out (assoc-ref outputs "out")))
+                 (for-each make-file-writable
+                           (find-files out "\\.gz$"))
+                 #t))))))
+      (propagated-inputs
+       `(("go-golang-org-colorful" ,go-golang-org-colorful)
+         ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
+      (inputs
+       `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+         ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+         ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)
+         ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix)))
+      (home-page "https://github.com/gdamore/tcell")
+      (synopsis "Provide a cell-based view for text terminals")
+      (description "This package includes a full parser and expander for
+terminfo capability strings to avoid hard-coding escape strings for
+formatting.  It also favors portability, and includes support for all POSIX
+systems.")
+      (license license:expat))))
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index fdbb082fdc..3b96a1443b 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,73 @@ 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")))))))
+      (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

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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
                     ` (2 more replies)
  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
  2022-06-11 20:10 ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies ( via Guix-patches via
  2 siblings, 3 replies; 61+ messages in thread
From: Ricardo Wurmus @ 2019-09-18  9:01 UTC (permalink / raw)
  To: Martin Becze; +Cc: 37444

Hi Martin,

> This adds aerc, which is a terminal based email client written in go. 

Thank you for your patch!

Could you please separate the independent changes into separate commits
and add commit summaries?  For example, the update of
go-github-com-mitchellh-go-homedir should be done separately.

Please also explain why “inputs” had to be changed to
“propagated-inputs” in some packages, and mention these kind of changes
in the commit summary.

Thanks!

-- 
Ricardo

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  2019-09-18  9:01 ` Ricardo Wurmus
@ 2019-09-18  9:20   ` Martin Becze
  2019-09-18  9:29   ` Martin Becze
  2019-09-22  8:55   ` Martin Becze
  2 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18  9:20 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 37444

Certainly! I'll get that up later today. On the propagated-inputs issue.
So I might be wrong here. But since all the go libraries are source only
it doesn't matter to the end result if the are propagated or not if the
libraries are used as `native-inputs`.. they shouldn't be left lying
around (I think?). Now the reason why the need to be propagated is that
when the go compiler go to compile the top level app (aerc) it needs to
have in it's GOPATH all of the dependencies and the dependencies of the
dependencies. The other way to do it is to put all of dependencies and
the dependencies of the dependencies in the native-input. But that
didn't seem right to me. Let me know what you think!

On 2019-09-18 09:01, Ricardo Wurmus wrote:
> Hi Martin,
> 
>> This adds aerc, which is a terminal based email client written in go.
> 
> Thank you for your patch!
> 
> Could you please separate the independent changes into separate commits
> and add commit summaries?  For example, the update of
> go-github-com-mitchellh-go-homedir should be done separately.
> 
> Please also explain why “inputs” had to be changed to
> “propagated-inputs” in some packages, and mention these kind of changes
> in the commit summary.
> 
> Thanks!

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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
  2 siblings, 2 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18  9:29 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 37444

also if i do something like `git send-email HEAD~3` won't it send
multiple emails? is the advised way to do it?

On 2019-09-18 09:01, Ricardo Wurmus wrote:
> Hi Martin,
> 
>> This adds aerc, which is a terminal based email client written in go.
> 
> Thank you for your patch!
> 
> Could you please separate the independent changes into separate commits
> and add commit summaries?  For example, the update of
> go-github-com-mitchellh-go-homedir should be done separately.
> 
> Please also explain why “inputs” had to be changed to
> “propagated-inputs” in some packages, and mention these kind of changes
> in the commit summary.
> 
> Thanks!

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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
  1 sibling, 0 replies; 61+ messages in thread
From: Björn Höfling @ 2019-09-18  9:42 UTC (permalink / raw)
  To: Martin Becze; +Cc: 37444

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

On Wed, 18 Sep 2019 02:29:18 -0700
Martin Becze <mjbecze@riseup.net> wrote:

> also if i do something like `git send-email HEAD~3` won't it send
> multiple emails? is the advised way to do it?

If you would send all n patches directly to guix-patches, we would
receive the patches distributed over n bug-entries.

This is documented here:

https://guix.gnu.org/manual/en/guix.html#Sending-a-Patch-Series-1

As you already generated a bug-number with your first patch, you can
directly use it:

37444@debbugs.gnu.org

Thanks,

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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
  1 sibling, 0 replies; 61+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2019-09-18  9:48 UTC (permalink / raw)
  To: 37444

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

Martin,

Martin Becze 写道:
> also if i do something like `git send-email HEAD~3` won't it 
> send
> multiple emails? is the advised way to do it?

Once you've been assigned a bug number, sending multiple patches 
‘--to=nnn@debbugs’ is fine.

It's sending more than one patch ‘--to=guix-patches/bug-guix@’ 
that's discouraged (to say the least), as that will create a new 
bug number for each patch…

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v2 1/4] Added the dependcies for aerc. NOTE i tried to place depency authors next to each other.
  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 15:36 ` Martin Becze
  2019-09-18 15:36   ` [bug#37444] [PATCH v2 2/4] added aerc, a simple email client Martin Becze
                     ` (2 more replies)
  2022-06-11 20:10 ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies ( via Guix-patches via
  2 siblings, 3 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18 15:36 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 570 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 570 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 819cc6229e..86ee362b70 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -16,6 +16,7 @@
 ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
 ;;; Copyright @ 2019 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2019 Martin Becze <mjbecze@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -802,6 +803,34 @@ Go programming language.")
       (home-page "https://go.googlesource.com/tools/")
       (license license:bsd-3))))
 
+(define-public go-golang-org-x-oauth2
+  (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
+        (url "https://go.googlesource.com/oauth2"))
+    (package
+      (name "go-golang-org-x-oauth2")
+      (version (git-version "0.0.0" "0" commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url url)
+                      (commit commit)))
+                (file-name (string-append "go.googlesource.com-oauth2-"
+                                          version "-checkout"))
+                (sha256
+                 (base32
+                  "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "golang.org/x/oauth2"))
+      (propagated-inputs
+       `(("go-golang-org-x-net-context" ,go-golang-org-x-net-context)))
+      (synopsis "This package contains a client implementation for OAuth 2.0
+ spec.")
+      (description "This package contains a client implementation for OAuth 2.0
+ spec.")
+      (home-page url)
+      (license license:bsd-3))))
+
 (define-public go-golang-org-x-crypto
   (let ((commit "b7391e95e576cacdcdd422573063bc057239113d")
         (revision "3"))
@@ -2045,6 +2074,30 @@ terminal.")
 makes it possible to handle ANSI color escapes on Windows.")
       (license license:expat))))
 
+(define-public go-github-com-mattn-go-pointer
+  (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
+        (url "https://github.com/mattn/go-pointer"))
+    (package
+      (name "go-github-com-mattn-go-pointer")
+      (version (git-version "0.0.0" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url url)
+               (commit commit)))
+         (sha256
+          (base32
+           "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
+         (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/mattn/go-pointer"))
+      (home-page url)
+      (synopsis "Utility for cgo")
+      (description "Utility for cgo")
+      (license license:expat))))
+
 (define-public go-github-com-mgutz-ansi
   (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
         (revision "0"))
@@ -3686,3 +3739,520 @@ on running processes and system utilization (CPU, memory, disks, network,
 sensors).")
       (home-page "https://github.com/shirou/gopsutil")
       (license license:bsd-3))))
+
+(define-public go-github-com-danwakefield-fnmatch
+  (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
+        (url "https://github.com/danwakefield/fnmatch"))
+    (package
+     (name "go-github-com-danwakefield-fnmatch")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/danwakefield/fnmatch"))
+     (home-page url)
+     (synopsis "Updated clone of kballards golang fnmatch
+ gist (https://gist.github.com/kballard/272720)")
+     (description "Updated clone of kballards golang fnmatch
+gist (https://gist.github.com/kballard/272720)")
+     (license license:bsd-2))))
+
+(define-public go-github-com-ddevault-go-libvterm
+  (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
+        (url "https://github.com/ddevault/go-libvterm"))
+    (package
+     (name "go-github-com-ddevault-go-libvterm")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/ddevault/go-libvterm"))
+     (propagated-inputs
+      `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
+     (home-page url)
+     (synopsis "Go binding to libvterm")
+     (description "This is a personal fork for use with aerc. Breaking changes
+ will come unannounced.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap
+  (let ((url "https://github.com/emersion/go-imap"))
+    (package
+     (name "go-github-com-emersion-go-imap")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap"))
+     (native-inputs
+      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "An IMAP4rev1 library written in Go")
+     (description "An IMAP4rev1 library written in Go. It can be used to build
+ a client and/or a server.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-sasl
+  (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
+        (url "https://github.com/emersion/go-sasl"))
+    (package
+     (name "go-github-com-emersion-go-sasl")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-sasl"))
+     (home-page url)
+     (synopsis "A SASL library written in Go")
+     (description "A SASL library written in Go.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap-idle
+  (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
+        (url "https://github.com/emersion/go-imap-idle"))
+    (package
+     (name "go-github-com-emersion-go-imap-idle")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap-idle"))
+     (native-inputs
+      `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
+        ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "IDLE extension for go-imap")
+     (description "IDLE extension for go-imap.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-maildir
+  (let ((url "https://github.com/emersion/go-maildir")
+        (commit "941194b0ac705efac39bd89c5eae6cce84b26202"))
+    (package
+     (name "go-github-com-emersion-go-maildir")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emersion/go-maildir")
+             (commit commit)))
+       (sha256
+        (base32
+         "10dm0qvjm4payh2hfifwfpz9511fngp2vaf2yrg111di67x1148m"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-maildir"))
+     (home-page url)
+     (synopsis "A Go library for maildir")
+     (description "A Go library for maildir.")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-message
+  (let ((url "https://github.com/emersion/go-message"))
+    (package
+     (name "go-github-com-emersion-go-message")
+     (version "0.10.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "05s6x6x5k5b4qmfam716b5wi47rrvj702lfkc6gr681z64g2hirb"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-message"))
+     (propagated-inputs
+      `(("go-github-com-emersion-go-textwrapper"
+         ,go-github-com-emersion-go-textwrapper)
+        ("go-github-com-martinlindhe-base36"
+	 ,go-github-com-martinlindhe-base36)))
+     (home-page url)
+     (synopsis "A Go library for the Internet Message Format")
+     (description "A Go library for the Internet Message Format. It implements:
+@itemize
+@item RFC 5322: Internet Message Format
+@item RFC 2045, RFC 2046 and RFC 2047: Multipurpose Internet Mail Extensions
+@item RFC 2183: Content-Disposition Header Field
+@end itemize")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-textwrapper
+  (let ((url "https://github.com/emersion/go-textwrapper")
+        (commit "d0e65e56babe3f687ff94c1d764ca0e6aa7723ee"))
+    (package
+     (name "go-github-com-emersion-go-textwrapper")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1nw8qpjjbpkz49wd19yg2qsln1dmdfxi83wp2aa819cv6xxf2y7l"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-textwrapper"))
+     (home-page url)
+     (synopsis "A writer that wraps long text lines to a specified length")
+     (description "A writer that wraps long text lines to a specified length")
+     (license license:expat))))
+
+(define-public go-github-com-emersion-go-smtp
+  (let ((url "https://github.com/emersion/go-smtp"))
+    (package
+     (name "go-github-com-emersion-go-smtp")
+     (version "0.11.2")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "08v7x513hxkfyihixp0cdy4cmf2j9hw1yzm7bzy5g95fai71azm0"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-smtp"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)))
+     (home-page url)
+     (synopsis "An ESMTP client and server library written in Go")
+     (description "An ESMTP client and server library written in Go. It features:
+@itemize
+@item ESMTP client & server implementing RFC 532
+@item Support for SMTP AUTH and PIPELINING
+@item UTF-8 support for subject and message
+@item LMTP support
+@end itemize ")
+     (license license:expat))))
+
+(define-public go-github-com-fsnotify-fsnotify
+  (let ((url "https://github.com/fsnotify/fsnotify"))
+    (package
+     (name "go-github-com-fsnotify-fsnotify")
+     (version "1.4.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/fsnotify/fsnotify"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-sys-unix",go-golang-org-x-sys-unix)))
+     (home-page url)
+     (synopsis "File system notifications for Go")
+     (description "File system notifications for Go")
+     (license license:bsd-3))))
+
+(define-public go-github-com-go-ini-ini
+  (let ((url "https://github.com/go-ini/ini"))
+    (package
+     (name "go-github-com-go-ini-ini")
+     (version "1.44.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "072fhg4i5k26pxq3kg5y5h9lb9w5ka75jl000q5bjcdv2yf8qhcv"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/go-ini/ini"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "Package ini provides INI file read and write functionality in Go")
+     (description "Package ini provides INI file read and write functionality in Go.")
+     (license license:asl2.0))))
+
+(define-public go-github-com-google-shlex
+  (let ((commit "c34317bd91bf98fab745d77b03933cf8769299fe")
+        (url "https://github.com/google/shlex"))
+    (package
+     (name "go-github-com-google-shlex")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "00qivza4hkllfkar2vpqmyxybi0fwqipgijv61dgapq4xddxdq0r"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/google/shlex"))
+     (home-page url)
+     (synopsis "A simple lexer")
+     (description "go-shlex is a simple lexer for go that supports shell-style 
+quoting, commenting, and escaping.")
+     (license license:asl2.0))))
+
+(define-public go-github-com-kyoh86-xdg
+  (let ((url "https://github.com/kyoh86/xdg"))
+    (package
+     (name "go-github-com-kyoh86-xdg")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "02wrm9rl6qqv3nr2n5yariwg1rgr7w76l1sp0ak1kxin1y184ivf"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/kyoh86/xdg"))
+     (home-page url)
+     (synopsis "Light weight helper functions in golang to get config, data and
+ cache files according to the XDG Base Directory Specification")
+     (description "Light weight helper functions in golang to get config, data
+ and cache files according to the XDG Base Directory Specification.")
+     (license license:expat))))
+
+(define-public go-github-com-martinlindhe-base36
+  (let ((url "https://github.com/martinlindhe/base36"))
+    (package
+     (name "go-github-com-martinlindhe-base36")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "0hib6cnx543fxbcy7fm3kcfz8ajhd90kxzbld49qi7w930pcz26c"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/martinlindhe/base36"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "Implements Base36 encoding and decoding")
+     (description "Implements Base36 encoding and decoding, which is useful to
+ represent large integers in a case-insensitive alphanumeric way.")
+     (license license:expat))))
+
+(define-public go-github-com-miolini-datacounter
+  (let ((url "https://github.com/miolini/datacounter")
+        (commit "aa48df3a02c1fbcd3040271f631887991c3071fb"))
+    (package
+     (name "go-github-com-miolini-datacounter")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "12ldh5jhafjhh3jvh979mldwygkkcnm97axs7dhlai6gqwlhls87"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/miolini/datacounter"))
+     (home-page url)
+     (synopsis "Golang counters for readers/writers")
+     (description "Golang counters for readers/writers")
+     (license license:expat))))
+
+(define-public go-github-com-riywo-loginshell
+  (let ((url "https://github.com/riywo/loginshell")
+        (commit "2ed199a032f65b5e6a0a1294abc96b7d3efade86"))
+    (package
+     (name "go-github-com-riywo-loginshell")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1chhpp22kd3r2h84206bvdjj6815n4r6pjq8n9jhav9mfal4qvzj"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/riywo/loginshell"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "A golang library to get the login shell of the current user")
+     (description "A golang library to get the login shell of the current user.")
+     (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-getopt
+  (let ((commit "daaf1274538b02b41238d1e6c219186c76af3b8c")
+        (url "https://git.sr.ht/~sircmpwn/getopt"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-getopt")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0qf9kmzs3h4vzcbc1ha0z68ivckzvl7jq9jwb8rbbaq0d1a6baq7"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/getopt"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "A POSIX-compatible getopt implementation for Go")
+     (description "A POSIX-compatible getopt implementation for Go, because
+ POSIX getopt is The Correct Way to interpret arguments to command line utilities.")
+     (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-pty
+  (let ((commit "3a43678975a9cb13dbcf05ea7a1611ebce3eadb2")
+        (url "https://git.sr.ht/~sircmpwn/pty"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-pty")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1spa779vb2j1vgwm1cpbmf7f8wj6zwyyy49ihz134izvah7vncsw"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/pty"))
+     (home-page url)
+     (synopsis "A Go package for using unix pseudo-terminals")
+     (description "Pty is a Go package for using unix pseudo-terminals.")
+     (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-tcell
+  (let ((commit "3fdb6bc01a5035fe7cd57b9b0b56166a44db8620")
+        (version "0.0.0"))
+    (package
+      (name "go-git-sr-ht-sircmpwn-tcell")
+      (version (git-version version "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.sr.ht/~sircmpwn/tcell")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1g7vx0qzwp6wsp47l2rabmkrxp7x3z8s94gjf6722z7sfb8xybas"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/gdamore/tcell"
+         #:unpack-path "github.com/gdamore/tcell"
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'reset-gzip-timestamps 'make-files-writable
+             (lambda* (#:key outputs #:allow-other-keys)
+               ;; Make sure .gz files are writable so that the
+               ;; 'reset-gzip-timestamps' phase can do its work.
+               (let ((out (assoc-ref outputs "out")))
+                 (for-each make-file-writable
+                           (find-files out "\\.gz$"))
+                 #t))))))
+      (propagated-inputs
+       `(("go-golang-org-colorful" ,go-golang-org-colorful)
+         ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
+      (inputs
+       `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+         ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+         ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)
+         ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix)))
+      (home-page "https://github.com/gdamore/tcell")
+      (synopsis "Provide a cell-based view for text terminals")
+      (description "This package includes a full parser and expander for
+terminfo capability strings to avoid hard-coding escape strings for
+formatting.  It also favors portability, and includes support for all POSIX
+systems.")
+      (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v2 2/4] added aerc, a simple email client
  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   ` 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
  2 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18 15:36 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

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

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index fdbb082fdc..b878c81c66 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

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v2 3/4] updated go-github-com-mitchellh-go-homedir to version 1.1.0
  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   ` 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
  2 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18 15:36 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 86ee362b70..e17630017c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2971,28 +2971,27 @@ statistics for wrapped connections.")
       (license license:expat))))
 
 (define-public go-github-com-mitchellh-go-homedir
-  (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
-        (revision "0"))
     (package
       (name "go-github-com-mitchellh-go-homedir")
-      (version (git-version "1.0.0" revision commit))
+      (version "1.1.0")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/mitchellh/go-homedir.git")
-               (commit commit)))
+               (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
+           "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1"))))
       (build-system go-build-system)
       (arguments
        (quote (#:import-path "github.com/mitchellh/go-homedir"
                ;; TODO: Tests fail because it tries to access home.
                #:tests? #f)))
       (home-page "https://github.com/mitchellh/go-homedir")
-      (synopsis "Go library for detecting and expanding the user's home directory without cgo")
+      (synopsis "Go library for detecting and expanding the user's home 
+directory without cgo")
       (description "This is a Go library for detecting the user's home
 directory without the use of @command{cgo}, so the library can be used in
 cross-compilation environments.
@@ -3007,7 +3006,7 @@ package cannot cross compile.  But 99% of the time the use for
 @command{os/user} is just to retrieve the home directory, which we can do for
 the current user without cgo.  This library does that, enabling
 cross-compilation.")
-      (license license:expat))))
+      (license license:expat)))
 
 (define-public go-github-com-multiformats-go-multiaddr
   (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [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
  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   ` Martin Becze
  2 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-18 15:36 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e17630017c..06f6226d94 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3435,7 +3435,7 @@ colorspaces.")
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/gdamore/encoding"))
-    (inputs
+    (propagated-inputs
      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
     (home-page "https://github.com/gdamore/encoding")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  2019-09-18  9:01 ` Ricardo Wurmus
  2019-09-18  9:20   ` Martin Becze
  2019-09-18  9:29   ` Martin Becze
@ 2019-09-22  8:55   ` Martin Becze
  2019-09-26  9:37     ` Ludovic Courtès
  2 siblings, 1 reply; 61+ messages in thread
From: Martin Becze @ 2019-09-22  8:55 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 37444

On 2019-09-18 09:01, Ricardo Wurmus wrote:
> Hi Martin,
> 
>> This adds aerc, which is a terminal based email client written in go.
> 
> Thank you for your patch!
> 
> Could you please separate the independent changes into separate commits
> and add commit summaries?  For example, the update of
> go-github-com-mitchellh-go-homedir should be done separately.
> 
> Please also explain why “inputs” had to be changed to
> “propagated-inputs” in some packages, and mention these kind of changes
> in the commit summary.
> 
> Thanks!

just bumping, updated patch has been made and split into commits now.
https://issues.guix.gnu.org/issue/37444 let me know if that is ok

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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-10-01 21:34       ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies Martin Becze
  0 siblings, 2 replies; 61+ messages in thread
From: Ludovic Courtès @ 2019-09-26  9:37 UTC (permalink / raw)
  To: Martin Becze; +Cc: 37444

Hi Martin,

Martin Becze <mjbecze@riseup.net> skribis:

> On 2019-09-18 09:01, Ricardo Wurmus wrote:
>> Hi Martin,
>> 
>>> This adds aerc, which is a terminal based email client written in go.
>> 
>> Thank you for your patch!
>> 
>> Could you please separate the independent changes into separate commits
>> and add commit summaries?  For example, the update of
>> go-github-com-mitchellh-go-homedir should be done separately.
>> 
>> Please also explain why “inputs” had to be changed to
>> “propagated-inputs” in some packages, and mention these kind of changes
>> in the commit summary.
>> 
>> Thanks!
>
> just bumping, updated patch has been made and split into commits now.
> https://issues.guix.gnu.org/issue/37444 let me know if that is ok

Like Ricardo mentioned, it would be great if patch #1 were split into
several commits, one per new package.  That’s how we usually do it.

I saw your commit logs provide explanations.  However, they are all on
the “subject line” of the commit log.  Could you take a look at
<https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html>
regarding the format of commit logs, or run, say, “git log
gnu/packages/golang.scm” to view examples?

I could do these changes on your behalf, but I’d rather let you do it to
make sure I don’t mess up or misrepresent what you did!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer
  2019-09-26  9:37     ` Ludovic Courtès
@ 2019-09-26 15:20       ` Martin Becze
  2019-09-26 15:20         ` [bug#37444] [PATCH v3 02/23] added go package go-github-com-danwakefield-fnmatch Martin Becze
                           ` (21 more replies)
  2019-10-01 21:34       ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies Martin Becze
  1 sibling, 22 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:20 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bf1a45f135..4b78c48b84 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2074,6 +2074,31 @@ terminal.")
 makes it possible to handle ANSI color escapes on Windows.")
       (license license:expat))))
 
+(define-public go-github-com-mattn-go-pointer
+  (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
+        (url "https://github.com/mattn/go-pointer"))
+    (package
+      (name "go-github-com-mattn-go-pointer")
+      (version (git-version "0.0.0" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url url)
+               (commit commit)))
+         (sha256
+          (base32
+           "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
+         (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/mattn/go-pointer"))
+      (home-page url)
+      (synopsis "Utility for cgo")
+      (description "Utility for cgo")
+      (license license:expat))))
+
+
 (define-public go-github-com-mgutz-ansi
   (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
         (revision "0"))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 02/23] added go package go-github-com-danwakefield-fnmatch
  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         ` Martin Becze
  2019-09-26 15:20         ` [bug#37444] [PATCH v3 03/23] added go package go-github-com-ddevault-go-libvterm Martin Becze
                           ` (20 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:20 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4b78c48b84..f6c3c7673e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3740,3 +3740,29 @@ on running processes and system utilization (CPU, memory, disks, network,
 sensors).")
       (home-page "https://github.com/shirou/gopsutil")
       (license license:bsd-3))))
+
+(define-public go-github-com-danwakefield-fnmatch
+  (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
+        (url "https://github.com/danwakefield/fnmatch"))
+    (package
+     (name "go-github-com-danwakefield-fnmatch")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/danwakefield/fnmatch"))
+     (home-page url)
+     (synopsis "Updated clone of kballards golang fnmatch
+ gist (https://gist.github.com/kballard/272720)")
+     (description "Updated clone of kballards golang fnmatch
+gist (https://gist.github.com/kballard/272720)")
+     (license license:bsd-2))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 03/23] added go package go-github-com-ddevault-go-libvterm
  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         ` Martin Becze
  2019-09-26 15:20         ` [bug#37444] [PATCH v3 04/23] added go package go-github-com-emersion-go-imap Martin Becze
                           ` (19 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:20 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f6c3c7673e..0ea99e40ab 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3766,3 +3766,30 @@ sensors).")
      (description "Updated clone of kballards golang fnmatch
 gist (https://gist.github.com/kballard/272720)")
      (license license:bsd-2))))
+
+(define-public go-github-com-ddevault-go-libvterm
+  (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
+        (url "https://github.com/ddevault/go-libvterm"))
+    (package
+     (name "go-github-com-ddevault-go-libvterm")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/ddevault/go-libvterm"))
+     (propagated-inputs
+      `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
+     (home-page url)
+     (synopsis "Go binding to libvterm")
+     (description "This is a personal fork for use with aerc. Breaking changes
+ will come unannounced.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 04/23] added go package go-github-com-emersion-go-imap
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 05/23] added go package go-github-com-emersion-go-sasl Martin Becze
                           ` (18 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:20 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ea99e40ab..ee4856c469 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3793,3 +3793,30 @@ gist (https://gist.github.com/kballard/272720)")
      (description "This is a personal fork for use with aerc. Breaking changes
  will come unannounced.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap
+  (let ((url "https://github.com/emersion/go-imap"))
+    (package
+     (name "go-github-com-emersion-go-imap")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap"))
+     (native-inputs
+      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "An IMAP4rev1 library written in Go")
+     (description "An IMAP4rev1 library written in Go. It can be used to build
+ a client and/or a server.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 05/23] added go package go-github-com-emersion-go-sasl
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (2 preceding siblings ...)
  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         ` 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
                           ` (17 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ee4856c469..5da171277c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3820,3 +3820,27 @@ gist (https://gist.github.com/kballard/272720)")
      (description "An IMAP4rev1 library written in Go. It can be used to build
  a client and/or a server.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-sasl
+  (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
+        (url "https://github.com/emersion/go-sasl"))
+    (package
+     (name "go-github-com-emersion-go-sasl")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-sasl"))
+     (home-page url)
+     (synopsis "A SASL library written in Go")
+     (description "A SASL library written in Go.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 06/23] add go package go-github-com-emersion-go-imap-idle
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (3 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 07/23] added go package go-github-com-emersion-go-maildir Martin Becze
                           ` (16 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5da171277c..b8fb35fb29 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3844,3 +3844,32 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "A SASL library written in Go")
      (description "A SASL library written in Go.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap-idle
+  (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
+        (url "https://github.com/emersion/go-imap-idle"))
+    (package
+     (name "go-github-com-emersion-go-imap-idle")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap-idle"))
+     (native-inputs
+      `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
+        ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "IDLE extension for go-imap")
+     (description "IDLE extension for go-imap.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 07/23] added go package go-github-com-emersion-go-maildir
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (4 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 08/23] added go package go-github-com-emersion-go-message Martin Becze
                           ` (15 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b8fb35fb29..ac9f907911 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3873,3 +3873,28 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "IDLE extension for go-imap")
      (description "IDLE extension for go-imap.")
      (license license:expat))))
+
+
+(define-public go-github-com-emersion-go-maildir
+  (let ((url "https://github.com/emersion/go-maildir")
+        (commit "941194b0ac705efac39bd89c5eae6cce84b26202"))
+    (package
+     (name "go-github-com-emersion-go-maildir")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emersion/go-maildir")
+             (commit commit)))
+       (sha256
+        (base32
+         "10dm0qvjm4payh2hfifwfpz9511fngp2vaf2yrg111di67x1148m"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-maildir"))
+     (home-page url)
+     (synopsis "A Go library for maildir")
+     (description "A Go library for maildir.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 08/23] added go package go-github-com-emersion-go-message
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (5 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 09/23] added go package go-github-com-emersion-go-textwrapper Martin Becze
                           ` (14 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ac9f907911..189f0f1788 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3898,3 +3898,37 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "A Go library for maildir")
      (description "A Go library for maildir.")
      (license license:expat))))
+
+
+(define-public go-github-com-emersion-go-message
+  (let ((url "https://github.com/emersion/go-message"))
+    (package
+     (name "go-github-com-emersion-go-message")
+     (version "0.10.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "05s6x6x5k5b4qmfam716b5wi47rrvj702lfkc6gr681z64g2hirb"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-message"))
+     (propagated-inputs
+      `(("go-github-com-emersion-go-textwrapper"
+         ,go-github-com-emersion-go-textwrapper)
+        ("go-github-com-martinlindhe-base36"
+	 ,go-github-com-martinlindhe-base36)))
+     (home-page url)
+     (synopsis "A Go library for the Internet Message Format")
+     (description "A Go library for the Internet Message Format. It implements:
+@itemize
+@item RFC 5322: Internet Message Format
+@item RFC 2045, RFC 2046 and RFC 2047: Multipurpose Internet Mail Extensions
+@item RFC 2183: Content-Disposition Header Field
+@end itemize")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 09/23] added go package go-github-com-emersion-go-textwrapper
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (6 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 10/23] added go package go-github-com-emersion-go-smtp Martin Becze
                           ` (13 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 189f0f1788..5e347ebc43 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3932,3 +3932,27 @@ gist (https://gist.github.com/kballard/272720)")
 @item RFC 2183: Content-Disposition Header Field
 @end itemize")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-textwrapper
+  (let ((url "https://github.com/emersion/go-textwrapper")
+        (commit "d0e65e56babe3f687ff94c1d764ca0e6aa7723ee"))
+    (package
+     (name "go-github-com-emersion-go-textwrapper")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1nw8qpjjbpkz49wd19yg2qsln1dmdfxi83wp2aa819cv6xxf2y7l"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-textwrapper"))
+     (home-page url)
+     (synopsis "A writer that wraps long text lines to a specified length")
+     (description "A writer that wraps long text lines to a specified length")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 10/23] added go package go-github-com-emersion-go-smtp
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (7 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 11/23] added go package go-github-com-fsnotify-fsnotify Martin Becze
                           ` (12 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5e347ebc43..640f9e5f15 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3956,3 +3956,34 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "A writer that wraps long text lines to a specified length")
      (description "A writer that wraps long text lines to a specified length")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-smtp
+  (let ((url "https://github.com/emersion/go-smtp"))
+    (package
+     (name "go-github-com-emersion-go-smtp")
+     (version "0.11.2")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "08v7x513hxkfyihixp0cdy4cmf2j9hw1yzm7bzy5g95fai71azm0"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-smtp"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)))
+     (home-page url)
+     (synopsis "An ESMTP client and server library written in Go")
+     (description "An ESMTP client and server library written in Go. It features:
+@itemize
+@item ESMTP client & server implementing RFC 532
+@item Support for SMTP AUTH and PIPELINING
+@item UTF-8 support for subject and message
+@item LMTP support
+@end itemize ")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 11/23] added go package go-github-com-fsnotify-fsnotify
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (8 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 12/23] added go package go-github-com-go-ini-ini Martin Becze
                           ` (11 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 640f9e5f15..52bf9ad49a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3987,3 +3987,29 @@ gist (https://gist.github.com/kballard/272720)")
 @item LMTP support
 @end itemize ")
      (license license:expat))))
+
+(define-public go-github-com-fsnotify-fsnotify
+  (let ((url "https://github.com/fsnotify/fsnotify"))
+    (package
+     (name "go-github-com-fsnotify-fsnotify")
+     (version "1.4.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/fsnotify/fsnotify"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-sys-unix",go-golang-org-x-sys-unix)))
+     (home-page url)
+     (synopsis "File system notifications for Go")
+     (description "File system notifications for Go")
+     (license license:bsd-3))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 12/23] added go package go-github-com-go-ini-ini
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (9 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 13/23] added go package go-github-com-google-shlex Martin Becze
                           ` (10 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 52bf9ad49a..9245965613 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4013,3 +4013,27 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "File system notifications for Go")
      (description "File system notifications for Go")
      (license license:bsd-3))))
+
+(define-public go-github-com-go-ini-ini
+  (let ((url "https://github.com/go-ini/ini"))
+    (package
+     (name "go-github-com-go-ini-ini")
+     (version "1.44.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "072fhg4i5k26pxq3kg5y5h9lb9w5ka75jl000q5bjcdv2yf8qhcv"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/go-ini/ini"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "Package ini provides INI file read and write functionality in Go")
+     (description "Package ini provides INI file read and write functionality in Go.")
+     (license license:asl2.0))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 13/23] added go package go-github-com-google-shlex
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (10 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 14/23] added go package go-github-com-kyoh86-xdg Martin Becze
                           ` (9 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9245965613..6c178a2102 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4037,3 +4037,28 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "Package ini provides INI file read and write functionality in Go")
      (description "Package ini provides INI file read and write functionality in Go.")
      (license license:asl2.0))))
+
+(define-public go-github-com-google-shlex
+  (let ((commit "c34317bd91bf98fab745d77b03933cf8769299fe")
+        (url "https://github.com/google/shlex"))
+    (package
+     (name "go-github-com-google-shlex")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "00qivza4hkllfkar2vpqmyxybi0fwqipgijv61dgapq4xddxdq0r"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/google/shlex"))
+     (home-page url)
+     (synopsis "A simple lexer")
+     (description "go-shlex is a simple lexer for go that supports shell-style 
+quoting, commenting, and escaping.")
+     (license license:asl2.0))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 14/23] added go package go-github-com-kyoh86-xdg
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (11 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 15/23] added go package go-github-com-martinlindhe-base36 Martin Becze
                           ` (8 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6c178a2102..ccb11a83c0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4062,3 +4062,28 @@ gist (https://gist.github.com/kballard/272720)")
      (description "go-shlex is a simple lexer for go that supports shell-style 
 quoting, commenting, and escaping.")
      (license license:asl2.0))))
+
+(define-public go-github-com-kyoh86-xdg
+  (let ((url "https://github.com/kyoh86/xdg"))
+    (package
+     (name "go-github-com-kyoh86-xdg")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "02wrm9rl6qqv3nr2n5yariwg1rgr7w76l1sp0ak1kxin1y184ivf"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/kyoh86/xdg"))
+     (home-page url)
+     (synopsis "Light weight helper functions in golang to get config, data and
+ cache files according to the XDG Base Directory Specification")
+     (description "Light weight helper functions in golang to get config, data
+ and cache files according to the XDG Base Directory Specification.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 15/23] added go package go-github-com-martinlindhe-base36
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (12 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 16/23] added go package go-github-com-miolini-datacounter Martin Becze
                           ` (7 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ccb11a83c0..487a963ff0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4087,3 +4087,29 @@ quoting, commenting, and escaping.")
      (description "Light weight helper functions in golang to get config, data
  and cache files according to the XDG Base Directory Specification.")
      (license license:expat))))
+
+(define-public go-github-com-martinlindhe-base36
+  (let ((url "https://github.com/martinlindhe/base36"))
+    (package
+     (name "go-github-com-martinlindhe-base36")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "0hib6cnx543fxbcy7fm3kcfz8ajhd90kxzbld49qi7w930pcz26c"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/martinlindhe/base36"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "Implements Base36 encoding and decoding")
+     (description "Implements Base36 encoding and decoding, which is useful to
+ represent large integers in a case-insensitive alphanumeric way.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 16/23] added go package go-github-com-miolini-datacounter
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (13 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 17/23] added go package go-github-com-riywo-loginshell Martin Becze
                           ` (6 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 487a963ff0..bb00230b60 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4113,3 +4113,27 @@ quoting, commenting, and escaping.")
      (description "Implements Base36 encoding and decoding, which is useful to
  represent large integers in a case-insensitive alphanumeric way.")
      (license license:expat))))
+
+(define-public go-github-com-miolini-datacounter
+  (let ((url "https://github.com/miolini/datacounter")
+        (commit "aa48df3a02c1fbcd3040271f631887991c3071fb"))
+    (package
+     (name "go-github-com-miolini-datacounter")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "12ldh5jhafjhh3jvh979mldwygkkcnm97axs7dhlai6gqwlhls87"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/miolini/datacounter"))
+     (home-page url)
+     (synopsis "Golang counters for readers/writers")
+     (description "Golang counters for readers/writers")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 17/23] added go package go-github-com-riywo-loginshell
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (14 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 18/23] added go package go-git-sr-ht-sircmpwn-getopt Martin Becze
                           ` (5 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bb00230b60..9fcf8d8b49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4137,3 +4137,28 @@ quoting, commenting, and escaping.")
      (synopsis "Golang counters for readers/writers")
      (description "Golang counters for readers/writers")
      (license license:expat))))
+
+(define-public go-github-com-riywo-loginshell
+  (let ((url "https://github.com/riywo/loginshell")
+        (commit "2ed199a032f65b5e6a0a1294abc96b7d3efade86"))
+    (package
+     (name "go-github-com-riywo-loginshell")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1chhpp22kd3r2h84206bvdjj6815n4r6pjq8n9jhav9mfal4qvzj"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/riywo/loginshell"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "A golang library to get the login shell of the current user")
+     (description "A golang library to get the login shell of the current user.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 18/23] added go package go-git-sr-ht-sircmpwn-getopt
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (15 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 19/23] added go package go-git-sr-ht-sircmpwn-pty Martin Becze
                           ` (4 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9fcf8d8b49..fb85c4f5b7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4162,3 +4162,30 @@ quoting, commenting, and escaping.")
      (synopsis "A golang library to get the login shell of the current user")
      (description "A golang library to get the login shell of the current user.")
      (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-getopt
+  (let ((commit "daaf1274538b02b41238d1e6c219186c76af3b8c")
+        (url "https://git.sr.ht/~sircmpwn/getopt"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-getopt")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0qf9kmzs3h4vzcbc1ha0z68ivckzvl7jq9jwb8rbbaq0d1a6baq7"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/getopt"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "A POSIX-compatible getopt implementation for Go")
+     (description "A POSIX-compatible getopt implementation for Go, because
+ POSIX getopt is The Correct Way to interpret arguments to command line utilities.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 19/23] added go package go-git-sr-ht-sircmpwn-pty
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (16 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 20/23] added go package go-git-sr-ht-sircmpwn-tcell Martin Becze
                           ` (3 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fb85c4f5b7..b925f5df95 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4189,3 +4189,27 @@ quoting, commenting, and escaping.")
      (description "A POSIX-compatible getopt implementation for Go, because
  POSIX getopt is The Correct Way to interpret arguments to command line utilities.")
      (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-pty
+  (let ((commit "3a43678975a9cb13dbcf05ea7a1611ebce3eadb2")
+        (url "https://git.sr.ht/~sircmpwn/pty"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-pty")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1spa779vb2j1vgwm1cpbmf7f8wj6zwyyy49ihz134izvah7vncsw"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/pty"))
+     (home-page url)
+     (synopsis "A Go package for using unix pseudo-terminals")
+     (description "Pty is a Go package for using unix pseudo-terminals.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 20/23] added go package go-git-sr-ht-sircmpwn-tcell
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (17 preceding siblings ...)
  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         ` Martin Becze
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 21/23] added aerc, a simple email client Martin Becze
                           ` (2 subsequent siblings)
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 46 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b925f5df95..066ea4ee6f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4213,3 +4213,49 @@ quoting, commenting, and escaping.")
      (synopsis "A Go package for using unix pseudo-terminals")
      (description "Pty is a Go package for using unix pseudo-terminals.")
      (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-tcell
+  (let ((commit "3fdb6bc01a5035fe7cd57b9b0b56166a44db8620")
+        (version "0.0.0"))
+    (package
+      (name "go-git-sr-ht-sircmpwn-tcell")
+      (version (git-version version "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.sr.ht/~sircmpwn/tcell")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1g7vx0qzwp6wsp47l2rabmkrxp7x3z8s94gjf6722z7sfb8xybas"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/gdamore/tcell"
+         #:unpack-path "github.com/gdamore/tcell"
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'reset-gzip-timestamps 'make-files-writable
+             (lambda* (#:key outputs #:allow-other-keys)
+               ;; Make sure .gz files are writable so that the
+               ;; 'reset-gzip-timestamps' phase can do its work.
+               (let ((out (assoc-ref outputs "out")))
+                 (for-each make-file-writable
+                           (find-files out "\\.gz$"))
+                 #t))))))
+      (propagated-inputs
+       `(("go-golang-org-colorful" ,go-golang-org-colorful)
+         ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
+      (inputs
+       `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+         ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+         ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)
+         ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix)))
+      (home-page "https://github.com/gdamore/tcell")
+      (synopsis "Provide a cell-based view for text terminals")
+      (description "This package includes a full parser and expander for
+terminfo capability strings to avoid hard-coding escape strings for
+formatting.  It also favors portability, and includes support for all POSIX
+systems.")
+      (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 21/23] added aerc, a simple email client
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (18 preceding siblings ...)
  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
  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
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

[-- 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

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v3 22/23] updated go-github-com-mitchellh-go-homedir to version 1.1.0
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (19 preceding siblings ...)
  2019-09-26 15:21         ` [bug#37444] [PATCH v3 21/23] added aerc, a simple email client Martin Becze
@ 2019-09-26 15:21         ` 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
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 066ea4ee6f..628b5786b8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2972,28 +2972,27 @@ statistics for wrapped connections.")
       (license license:expat))))
 
 (define-public go-github-com-mitchellh-go-homedir
-  (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
-        (revision "0"))
     (package
       (name "go-github-com-mitchellh-go-homedir")
-      (version (git-version "1.0.0" revision commit))
+      (version "1.1.0")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/mitchellh/go-homedir.git")
-               (commit commit)))
+               (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
+           "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1"))))
       (build-system go-build-system)
       (arguments
        (quote (#:import-path "github.com/mitchellh/go-homedir"
                ;; TODO: Tests fail because it tries to access home.
                #:tests? #f)))
       (home-page "https://github.com/mitchellh/go-homedir")
-      (synopsis "Go library for detecting and expanding the user's home directory without cgo")
+      (synopsis "Go library for detecting and expanding the user's home 
+directory without cgo")
       (description "This is a Go library for detecting the user's home
 directory without the use of @command{cgo}, so the library can be used in
 cross-compilation environments.
@@ -3008,7 +3007,7 @@ package cannot cross compile.  But 99% of the time the use for
 @command{os/user} is just to retrieve the home directory, which we can do for
 the current user without cgo.  This library does that, enabling
 cross-compilation.")
-      (license license:expat))))
+      (license license:expat)))
 
 (define-public go-github-com-multiformats-go-multiaddr
   (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [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
  2019-09-26 15:20       ` [bug#37444] [PATCH v3 01/23] added go package go-github-com-mattn-go-pointer Martin Becze
                           ` (20 preceding siblings ...)
  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         ` Martin Becze
  21 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-09-26 15:21 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

---
 gnu/packages/golang.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 628b5786b8..4825344fc8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,7 +3436,7 @@ colorspaces.")
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/gdamore/encoding"))
-    (inputs
+    (propagated-inputs
      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
     (home-page "https://github.com/gdamore/encoding")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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-10-01 21:34       ` Martin Becze
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
  1 sibling, 1 reply; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:34 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Ricardo Wurmus, 37444

On 2019-09-26 09:37, Ludovic Courtès wrote:
> Hi Martin,
> 
> Martin Becze <mjbecze@riseup.net> skribis:
> 
>> On 2019-09-18 09:01, Ricardo Wurmus wrote:
>>> Hi Martin,
>>>
>>>> This adds aerc, which is a terminal based email client written in go.
>>>
>>> Thank you for your patch!
>>>
>>> Could you please separate the independent changes into separate commits
>>> and add commit summaries?  For example, the update of
>>> go-github-com-mitchellh-go-homedir should be done separately.
>>>
>>> Please also explain why “inputs” had to be changed to
>>> “propagated-inputs” in some packages, and mention these kind of changes
>>> in the commit summary.
>>>
>>> Thanks!
>>
>> just bumping, updated patch has been made and split into commits now.
>> https://issues.guix.gnu.org/issue/37444 let me know if that is ok
> 
> Like Ricardo mentioned, it would be great if patch #1 were split into
> several commits, one per new package.  That’s how we usually do it.
> 
> I saw your commit logs provide explanations.  However, they are all on
> the “subject line” of the commit log.  Could you take a look at
> <https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html>
> regarding the format of commit logs, or run, say, “git log
> gnu/packages/golang.scm” to view examples?
> 
> I could do these changes on your behalf, but I’d rather let you do it to
> make sure I don’t mess up or misrepresent what you did!
> 
> Thanks,
> Ludo’.

ohhh i think i finally figured it out. (but not how to use
add-change-log-entry, it looks like ppl are using that to generate the
messages somehow?) anyways, v4 incoming!

^ permalink raw reply	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2
  2019-10-01 21:34       ` [bug#37444] [PATCH] added aerc, a simple email client and its dependcies Martin Becze
@ 2019-10-01 21:37         ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 02/24] added go package go-github-com-mattn-go-pointer Martin Becze
                             ` (22 more replies)
  0 siblings, 23 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-golang-org-x-oauth2): add package
---
 gnu/packages/golang.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 819cc6229e..bf1a45f135 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -16,7 +16,8 @@
 ;;; Copyright @ 2019 Giovanni Biscuolo <g@xelera.eu>
 ;;; Copyright @ 2019 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
-;;;
+;;; Copyright © 2019 Martin Becze <mjbecze@gmail.com>
+;;
 ;;; This file is part of GNU Guix.
 ;;;
 ;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -1348,6 +1349,34 @@ limiting in Go.")
     (description "This package provides @{terminal}, which implements support
 functions for dealing with terminals, as commonly found on UNIX systems.")))
 
+(define-public go-golang-org-x-oauth2
+  (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33")
+        (url "https://go.googlesource.com/oauth2"))
+    (package
+      (name "go-golang-org-x-oauth2")
+      (version (git-version "0.0.0" "0" commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url url)
+                      (commit commit)))
+                (file-name (string-append "go.googlesource.com-oauth2-"
+                                          version "-checkout"))
+                (sha256
+                 (base32
+                  "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "golang.org/x/oauth2"))
+      (propagated-inputs
+       `(("go-golang-org-x-net-context" ,go-golang-org-x-net-context)))
+      (synopsis "This package contains a client implementation for OAuth 2.0
+ spec.")
+      (description "This package contains a client implementation for OAuth 2.0
+ spec.")
+      (home-page url)
+      (license license:bsd-3))))
+
 (define-public go-github-com-burntsushi-toml
   (package
     (name "go-github-com-burntsushi-toml")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 02/24] added go package go-github-com-mattn-go-pointer
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 03/24] added go package go-github-com-danwakefield-fnmatch Martin Becze
                             ` (21 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-mattn-go-pointer): added pacakge
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bf1a45f135..4b78c48b84 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2074,6 +2074,31 @@ terminal.")
 makes it possible to handle ANSI color escapes on Windows.")
       (license license:expat))))
 
+(define-public go-github-com-mattn-go-pointer
+  (let ((commit "a0a44394634f41e4992b173b24f14fecd3318a67")
+        (url "https://github.com/mattn/go-pointer"))
+    (package
+      (name "go-github-com-mattn-go-pointer")
+      (version (git-version "0.0.0" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url url)
+               (commit commit)))
+         (sha256
+          (base32
+           "09w7hcyc0zz2g23vld6jbcmq4ar27xakp1ldjvh549i5izf2anhz"))
+         (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/mattn/go-pointer"))
+      (home-page url)
+      (synopsis "Utility for cgo")
+      (description "Utility for cgo")
+      (license license:expat))))
+
+
 (define-public go-github-com-mgutz-ansi
   (let ((commit "9520e82c474b0a04dd04f8a40959027271bab992")
         (revision "0"))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 03/24] added go package go-github-com-danwakefield-fnmatch
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 04/24] added go package go-github-com-ddevault-go-libvterm Martin Becze
                             ` (20 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-danwakefield-fnmatch): added pacakge
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4b78c48b84..f6c3c7673e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3740,3 +3740,29 @@ on running processes and system utilization (CPU, memory, disks, network,
 sensors).")
       (home-page "https://github.com/shirou/gopsutil")
       (license license:bsd-3))))
+
+(define-public go-github-com-danwakefield-fnmatch
+  (let ((commit "cbb64ac3d964b81592e64f957ad53df015803288")
+        (url "https://github.com/danwakefield/fnmatch"))
+    (package
+     (name "go-github-com-danwakefield-fnmatch")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/danwakefield/fnmatch"))
+     (home-page url)
+     (synopsis "Updated clone of kballards golang fnmatch
+ gist (https://gist.github.com/kballard/272720)")
+     (description "Updated clone of kballards golang fnmatch
+gist (https://gist.github.com/kballard/272720)")
+     (license license:bsd-2))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 04/24] added go package go-github-com-ddevault-go-libvterm
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 05/24] added go package go-github-com-emersion-go-imap Martin Becze
                             ` (19 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-ddevault-go-libvterm): added pacakge
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f6c3c7673e..0ea99e40ab 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3766,3 +3766,30 @@ sensors).")
      (description "Updated clone of kballards golang fnmatch
 gist (https://gist.github.com/kballard/272720)")
      (license license:bsd-2))))
+
+(define-public go-github-com-ddevault-go-libvterm
+  (let ((commit "b7d861da381071e5d3701e428528d1bfe276e78f")
+        (url "https://github.com/ddevault/go-libvterm"))
+    (package
+     (name "go-github-com-ddevault-go-libvterm")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "06vv4pgx0i6hjdjcar4ch18hp9g6q6687mbgkvs8ymmbacyhp7s6"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/ddevault/go-libvterm"))
+     (propagated-inputs
+      `(("go-github-com-mattn-go-pointer" ,go-github-com-mattn-go-pointer)))
+     (home-page url)
+     (synopsis "Go binding to libvterm")
+     (description "This is a personal fork for use with aerc. Breaking changes
+ will come unannounced.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 05/24] added go package go-github-com-emersion-go-imap
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (2 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 06/24] added go package go-github-com-emersion-go-sasl Martin Becze
                             ` (18 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-imap): added pacakge
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ea99e40ab..ee4856c469 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3793,3 +3793,30 @@ gist (https://gist.github.com/kballard/272720)")
      (description "This is a personal fork for use with aerc. Breaking changes
  will come unannounced.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap
+  (let ((url "https://github.com/emersion/go-imap"))
+    (package
+     (name "go-github-com-emersion-go-imap")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap"))
+     (native-inputs
+      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "An IMAP4rev1 library written in Go")
+     (description "An IMAP4rev1 library written in Go. It can be used to build
+ a client and/or a server.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 06/24] added go package go-github-com-emersion-go-sasl
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (3 preceding siblings ...)
  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           ` 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
                             ` (17 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-sasl): added pacakge
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ee4856c469..5da171277c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3820,3 +3820,27 @@ gist (https://gist.github.com/kballard/272720)")
      (description "An IMAP4rev1 library written in Go. It can be used to build
  a client and/or a server.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-sasl
+  (let ((commit "240c8404624e076f633766c16adbe96c7ac516b7")
+        (url "https://github.com/emersion/go-sasl"))
+    (package
+     (name "go-github-com-emersion-go-sasl")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1py18p3clp474xhx6ypyp0bgv6n1dfm24m95cyyqb0k3vibar6ih"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-sasl"))
+     (home-page url)
+     (synopsis "A SASL library written in Go")
+     (description "A SASL library written in Go.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 07/24] add go package go-github-com-emersion-go-imap-idle
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (4 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 08/24] added go package go-github-com-emersion-go-maildir Martin Becze
                             ` (16 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-imap-idle): added pacakge
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5da171277c..b8fb35fb29 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3844,3 +3844,32 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "A SASL library written in Go")
      (description "A SASL library written in Go.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap-idle
+  (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
+        (url "https://github.com/emersion/go-imap-idle"))
+    (package
+     (name "go-github-com-emersion-go-imap-idle")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-imap-idle"))
+     (native-inputs
+      `(("go-github-com-emersion-go-imap" ,go-github-com-emersion-go-imap)
+        ("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "IDLE extension for go-imap")
+     (description "IDLE extension for go-imap.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 08/24] added go package go-github-com-emersion-go-maildir
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (5 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 09/24] added go package go-github-com-emersion-go-message Martin Becze
                             ` (15 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-maildir): added package
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b8fb35fb29..ac9f907911 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3873,3 +3873,28 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "IDLE extension for go-imap")
      (description "IDLE extension for go-imap.")
      (license license:expat))))
+
+
+(define-public go-github-com-emersion-go-maildir
+  (let ((url "https://github.com/emersion/go-maildir")
+        (commit "941194b0ac705efac39bd89c5eae6cce84b26202"))
+    (package
+     (name "go-github-com-emersion-go-maildir")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emersion/go-maildir")
+             (commit commit)))
+       (sha256
+        (base32
+         "10dm0qvjm4payh2hfifwfpz9511fngp2vaf2yrg111di67x1148m"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-maildir"))
+     (home-page url)
+     (synopsis "A Go library for maildir")
+     (description "A Go library for maildir.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 09/24] added go package go-github-com-emersion-go-message
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (6 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 10/24] added go package go-github-com-emersion-go-textwrapper Martin Becze
                             ` (14 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-message): added package
---
 gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ac9f907911..189f0f1788 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3898,3 +3898,37 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "A Go library for maildir")
      (description "A Go library for maildir.")
      (license license:expat))))
+
+
+(define-public go-github-com-emersion-go-message
+  (let ((url "https://github.com/emersion/go-message"))
+    (package
+     (name "go-github-com-emersion-go-message")
+     (version "0.10.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "05s6x6x5k5b4qmfam716b5wi47rrvj702lfkc6gr681z64g2hirb"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-message"))
+     (propagated-inputs
+      `(("go-github-com-emersion-go-textwrapper"
+         ,go-github-com-emersion-go-textwrapper)
+        ("go-github-com-martinlindhe-base36"
+	 ,go-github-com-martinlindhe-base36)))
+     (home-page url)
+     (synopsis "A Go library for the Internet Message Format")
+     (description "A Go library for the Internet Message Format. It implements:
+@itemize
+@item RFC 5322: Internet Message Format
+@item RFC 2045, RFC 2046 and RFC 2047: Multipurpose Internet Mail Extensions
+@item RFC 2183: Content-Disposition Header Field
+@end itemize")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 10/24] added go package go-github-com-emersion-go-textwrapper
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (7 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 11/24] added go package go-github-com-emersion-go-smtp Martin Becze
                             ` (13 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-textwrapper): added package
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 189f0f1788..5e347ebc43 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3932,3 +3932,27 @@ gist (https://gist.github.com/kballard/272720)")
 @item RFC 2183: Content-Disposition Header Field
 @end itemize")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-textwrapper
+  (let ((url "https://github.com/emersion/go-textwrapper")
+        (commit "d0e65e56babe3f687ff94c1d764ca0e6aa7723ee"))
+    (package
+     (name "go-github-com-emersion-go-textwrapper")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1nw8qpjjbpkz49wd19yg2qsln1dmdfxi83wp2aa819cv6xxf2y7l"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-textwrapper"))
+     (home-page url)
+     (synopsis "A writer that wraps long text lines to a specified length")
+     (description "A writer that wraps long text lines to a specified length")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 11/24] added go package go-github-com-emersion-go-smtp
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (8 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 12/24] added go package go-github-com-fsnotify-fsnotify Martin Becze
                             ` (12 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-emersion-go-smtp): added package
---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5e347ebc43..640f9e5f15 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3956,3 +3956,34 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "A writer that wraps long text lines to a specified length")
      (description "A writer that wraps long text lines to a specified length")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-smtp
+  (let ((url "https://github.com/emersion/go-smtp"))
+    (package
+     (name "go-github-com-emersion-go-smtp")
+     (version "0.11.2")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "08v7x513hxkfyihixp0cdy4cmf2j9hw1yzm7bzy5g95fai71azm0"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/emersion/go-smtp"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)))
+     (home-page url)
+     (synopsis "An ESMTP client and server library written in Go")
+     (description "An ESMTP client and server library written in Go. It features:
+@itemize
+@item ESMTP client & server implementing RFC 532
+@item Support for SMTP AUTH and PIPELINING
+@item UTF-8 support for subject and message
+@item LMTP support
+@end itemize ")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 12/24] added go package go-github-com-fsnotify-fsnotify
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (9 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 13/24] added go package go-github-com-go-ini-ini Martin Becze
                             ` (11 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-fsnotify-fsnotify): added package
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 640f9e5f15..52bf9ad49a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3987,3 +3987,29 @@ gist (https://gist.github.com/kballard/272720)")
 @item LMTP support
 @end itemize ")
      (license license:expat))))
+
+(define-public go-github-com-fsnotify-fsnotify
+  (let ((url "https://github.com/fsnotify/fsnotify"))
+    (package
+     (name "go-github-com-fsnotify-fsnotify")
+     (version "1.4.7")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/fsnotify/fsnotify"))
+     (native-inputs
+      `(("go-github-com-emersion-go-sasl" ,go-github-com-emersion-go-sasl)
+        ("go-golang-org-x-sys-unix",go-golang-org-x-sys-unix)))
+     (home-page url)
+     (synopsis "File system notifications for Go")
+     (description "File system notifications for Go")
+     (license license:bsd-3))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 13/24] added go package go-github-com-go-ini-ini
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (10 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 14/24] added go package go-github-com-google-shlex Martin Becze
                             ` (10 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-go-ini-ini): added package
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 52bf9ad49a..9245965613 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4013,3 +4013,27 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "File system notifications for Go")
      (description "File system notifications for Go")
      (license license:bsd-3))))
+
+(define-public go-github-com-go-ini-ini
+  (let ((url "https://github.com/go-ini/ini"))
+    (package
+     (name "go-github-com-go-ini-ini")
+     (version "1.44.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "072fhg4i5k26pxq3kg5y5h9lb9w5ka75jl000q5bjcdv2yf8qhcv"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/go-ini/ini"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "Package ini provides INI file read and write functionality in Go")
+     (description "Package ini provides INI file read and write functionality in Go.")
+     (license license:asl2.0))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 14/24] added go package go-github-com-google-shlex
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (11 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 15/24] added go package go-github-com-kyoh86-xdg Martin Becze
                             ` (9 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-google-shlex): added package
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9245965613..6c178a2102 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4037,3 +4037,28 @@ gist (https://gist.github.com/kballard/272720)")
      (synopsis "Package ini provides INI file read and write functionality in Go")
      (description "Package ini provides INI file read and write functionality in Go.")
      (license license:asl2.0))))
+
+(define-public go-github-com-google-shlex
+  (let ((commit "c34317bd91bf98fab745d77b03933cf8769299fe")
+        (url "https://github.com/google/shlex"))
+    (package
+     (name "go-github-com-google-shlex")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "00qivza4hkllfkar2vpqmyxybi0fwqipgijv61dgapq4xddxdq0r"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/google/shlex"))
+     (home-page url)
+     (synopsis "A simple lexer")
+     (description "go-shlex is a simple lexer for go that supports shell-style 
+quoting, commenting, and escaping.")
+     (license license:asl2.0))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 15/24] added go package go-github-com-kyoh86-xdg
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (12 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 16/24] added go package go-github-com-martinlindhe-base36 Martin Becze
                             ` (8 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): added package
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6c178a2102..ccb11a83c0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4062,3 +4062,28 @@ gist (https://gist.github.com/kballard/272720)")
      (description "go-shlex is a simple lexer for go that supports shell-style 
 quoting, commenting, and escaping.")
      (license license:asl2.0))))
+
+(define-public go-github-com-kyoh86-xdg
+  (let ((url "https://github.com/kyoh86/xdg"))
+    (package
+     (name "go-github-com-kyoh86-xdg")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "02wrm9rl6qqv3nr2n5yariwg1rgr7w76l1sp0ak1kxin1y184ivf"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/kyoh86/xdg"))
+     (home-page url)
+     (synopsis "Light weight helper functions in golang to get config, data and
+ cache files according to the XDG Base Directory Specification")
+     (description "Light weight helper functions in golang to get config, data
+ and cache files according to the XDG Base Directory Specification.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 16/24] added go package go-github-com-martinlindhe-base36
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (13 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 17/24] added go package go-github-com-miolini-datacounter Martin Becze
                             ` (7 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-martinlindhe-base36): added package
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ccb11a83c0..487a963ff0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4087,3 +4087,29 @@ quoting, commenting, and escaping.")
      (description "Light weight helper functions in golang to get config, data
  and cache files according to the XDG Base Directory Specification.")
      (license license:expat))))
+
+(define-public go-github-com-martinlindhe-base36
+  (let ((url "https://github.com/martinlindhe/base36"))
+    (package
+     (name "go-github-com-martinlindhe-base36")
+     (version "1.0.0")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit (string-append "v" version))))
+       (sha256
+        (base32
+         "0hib6cnx543fxbcy7fm3kcfz8ajhd90kxzbld49qi7w930pcz26c"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/martinlindhe/base36"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "Implements Base36 encoding and decoding")
+     (description "Implements Base36 encoding and decoding, which is useful to
+ represent large integers in a case-insensitive alphanumeric way.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 17/24] added go package go-github-com-miolini-datacounter
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (14 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 18/24] added go package go-github-com-riywo-loginshell Martin Becze
                             ` (6 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-miolini-datacounter): added package
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 487a963ff0..bb00230b60 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4113,3 +4113,27 @@ quoting, commenting, and escaping.")
      (description "Implements Base36 encoding and decoding, which is useful to
  represent large integers in a case-insensitive alphanumeric way.")
      (license license:expat))))
+
+(define-public go-github-com-miolini-datacounter
+  (let ((url "https://github.com/miolini/datacounter")
+        (commit "aa48df3a02c1fbcd3040271f631887991c3071fb"))
+    (package
+     (name "go-github-com-miolini-datacounter")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "12ldh5jhafjhh3jvh979mldwygkkcnm97axs7dhlai6gqwlhls87"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/miolini/datacounter"))
+     (home-page url)
+     (synopsis "Golang counters for readers/writers")
+     (description "Golang counters for readers/writers")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 18/24] added go package go-github-com-riywo-loginshell
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (15 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 19/24] added go package go-git-sr-ht-sircmpwn-getopt Martin Becze
                             ` (5 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-riywo-loginshell): added package
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bb00230b60..9fcf8d8b49 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4137,3 +4137,28 @@ quoting, commenting, and escaping.")
      (synopsis "Golang counters for readers/writers")
      (description "Golang counters for readers/writers")
      (license license:expat))))
+
+(define-public go-github-com-riywo-loginshell
+  (let ((url "https://github.com/riywo/loginshell")
+        (commit "2ed199a032f65b5e6a0a1294abc96b7d3efade86"))
+    (package
+     (name "go-github-com-riywo-loginshell")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1chhpp22kd3r2h84206bvdjj6815n4r6pjq8n9jhav9mfal4qvzj"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "github.com/riywo/loginshell"
+		      #:tests? #f))
+     (home-page url)
+     (synopsis "A golang library to get the login shell of the current user")
+     (description "A golang library to get the login shell of the current user.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 19/24] added go package go-git-sr-ht-sircmpwn-getopt
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (16 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 20/24] added go package go-git-sr-ht-sircmpwn-pty Martin Becze
                             ` (4 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-git-sr-ht-sircmpwn-getopt): added package
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9fcf8d8b49..fb85c4f5b7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4162,3 +4162,30 @@ quoting, commenting, and escaping.")
      (synopsis "A golang library to get the login shell of the current user")
      (description "A golang library to get the login shell of the current user.")
      (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-getopt
+  (let ((commit "daaf1274538b02b41238d1e6c219186c76af3b8c")
+        (url "https://git.sr.ht/~sircmpwn/getopt"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-getopt")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "0qf9kmzs3h4vzcbc1ha0z68ivckzvl7jq9jwb8rbbaq0d1a6baq7"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/getopt"))
+     (native-inputs
+      `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+     (home-page url)
+     (synopsis "A POSIX-compatible getopt implementation for Go")
+     (description "A POSIX-compatible getopt implementation for Go, because
+ POSIX getopt is The Correct Way to interpret arguments to command line utilities.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 20/24] added go package go-git-sr-ht-sircmpwn-pty
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (17 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 21/24] added go package go-git-sr-ht-sircmpwn-tcell Martin Becze
                             ` (3 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-git-sr-ht-sircmpwn-pty): added package
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fb85c4f5b7..b925f5df95 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4189,3 +4189,27 @@ quoting, commenting, and escaping.")
      (description "A POSIX-compatible getopt implementation for Go, because
  POSIX getopt is The Correct Way to interpret arguments to command line utilities.")
      (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-pty
+  (let ((commit "3a43678975a9cb13dbcf05ea7a1611ebce3eadb2")
+        (url "https://git.sr.ht/~sircmpwn/pty"))
+    (package
+     (name "go-git-sr-ht-sircmpwn-pty")
+     (version (git-version "0.0.0" "0" commit))
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url url)
+             (commit commit)))
+       (sha256
+        (base32
+         "1spa779vb2j1vgwm1cpbmf7f8wj6zwyyy49ihz134izvah7vncsw"))
+       (file-name (git-file-name name version))))
+     (build-system go-build-system)
+     (arguments
+      '(#:import-path "git.sr.ht/~sircmpwn/pty"))
+     (home-page url)
+     (synopsis "A Go package for using unix pseudo-terminals")
+     (description "Pty is a Go package for using unix pseudo-terminals.")
+     (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 21/24] added go package go-git-sr-ht-sircmpwn-tcell
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (18 preceding siblings ...)
  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           ` Martin Becze
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 22/24] added aerc, a simple email client Martin Becze
                             ` (2 subsequent siblings)
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-git-sr-ht-sircmpwn-tcell): added package
---
 gnu/packages/golang.scm | 46 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b925f5df95..066ea4ee6f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4213,3 +4213,49 @@ quoting, commenting, and escaping.")
      (synopsis "A Go package for using unix pseudo-terminals")
      (description "Pty is a Go package for using unix pseudo-terminals.")
      (license license:expat))))
+
+(define-public go-git-sr-ht-sircmpwn-tcell
+  (let ((commit "3fdb6bc01a5035fe7cd57b9b0b56166a44db8620")
+        (version "0.0.0"))
+    (package
+      (name "go-git-sr-ht-sircmpwn-tcell")
+      (version (git-version version "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.sr.ht/~sircmpwn/tcell")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1g7vx0qzwp6wsp47l2rabmkrxp7x3z8s94gjf6722z7sfb8xybas"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/gdamore/tcell"
+         #:unpack-path "github.com/gdamore/tcell"
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'reset-gzip-timestamps 'make-files-writable
+             (lambda* (#:key outputs #:allow-other-keys)
+               ;; Make sure .gz files are writable so that the
+               ;; 'reset-gzip-timestamps' phase can do its work.
+               (let ((out (assoc-ref outputs "out")))
+                 (for-each make-file-writable
+                           (find-files out "\\.gz$"))
+                 #t))))))
+      (propagated-inputs
+       `(("go-golang-org-colorful" ,go-golang-org-colorful)
+         ("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
+      (inputs
+       `(("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+         ("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
+         ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)
+         ("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix)))
+      (home-page "https://github.com/gdamore/tcell")
+      (synopsis "Provide a cell-based view for text terminals")
+      (description "This package includes a full parser and expander for
+terminfo capability strings to avoid hard-coding escape strings for
+formatting.  It also favors portability, and includes support for all POSIX
+systems.")
+      (license license:expat))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 22/24] added aerc, a simple email client
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (19 preceding siblings ...)
  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           ` 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
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/mail.scm (aerc): added package
---
 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

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH v4 23/24] updated go-github-com-mitchellh-go-homedir to version 1.1.0
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (20 preceding siblings ...)
  2019-10-01 21:37           ` [bug#37444] [PATCH v4 22/24] added aerc, a simple email client Martin Becze
@ 2019-10-01 21:37           ` 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
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-mitchellh-go-homedir): updated to 1.1.0
---
 gnu/packages/golang.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 066ea4ee6f..628b5786b8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2972,28 +2972,27 @@ statistics for wrapped connections.")
       (license license:expat))))
 
 (define-public go-github-com-mitchellh-go-homedir
-  (let ((commit "ae18d6b8b3205b561c79e8e5f69bff09736185f4")
-        (revision "0"))
     (package
       (name "go-github-com-mitchellh-go-homedir")
-      (version (git-version "1.0.0" revision commit))
+      (version "1.1.0")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/mitchellh/go-homedir.git")
-               (commit commit)))
+               (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0f0z0aa4wivk4z1y503dmnw0k0g0g403dly8i4q263gfshs82sbq"))))
+           "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1"))))
       (build-system go-build-system)
       (arguments
        (quote (#:import-path "github.com/mitchellh/go-homedir"
                ;; TODO: Tests fail because it tries to access home.
                #:tests? #f)))
       (home-page "https://github.com/mitchellh/go-homedir")
-      (synopsis "Go library for detecting and expanding the user's home directory without cgo")
+      (synopsis "Go library for detecting and expanding the user's home 
+directory without cgo")
       (description "This is a Go library for detecting the user's home
 directory without the use of @command{cgo}, so the library can be used in
 cross-compilation environments.
@@ -3008,7 +3007,7 @@ package cannot cross compile.  But 99% of the time the use for
 @command{os/user} is just to retrieve the home directory, which we can do for
 the current user without cgo.  This library does that, enabling
 cross-compilation.")
-      (license license:expat))))
+      (license license:expat)))
 
 (define-public go-github-com-multiformats-go-multiaddr
   (let ((commit "fe1c46f8be5af4aff4db286e08839295bd922efb")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [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
  2019-10-01 21:37         ` [bug#37444] [PATCH v4 01/24] added go package go-golang-org-x-oauth2 Martin Becze
                             ` (21 preceding siblings ...)
  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           ` Martin Becze
  22 siblings, 0 replies; 61+ messages in thread
From: Martin Becze @ 2019-10-01 21:37 UTC (permalink / raw)
  To: 37444; +Cc: Martin Becze

* gnu/packages/golang.scm (go-github-com-gdamore-encoding): propgate-inputs
---

This fixes the git log! :D

 gnu/packages/golang.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 628b5786b8..4825344fc8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3436,7 +3436,7 @@ colorspaces.")
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/gdamore/encoding"))
-    (inputs
+    (propagated-inputs
      `(("go-golang-org-x-text-encoding" ,go-golang-org-x-text-encoding)
        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
     (home-page "https://github.com/gdamore/encoding")
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 61+ messages in thread

* [bug#37444] [PATCH] added aerc, a simple email client and its dependcies
  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 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
@ 2022-06-11 20:10 ` ( via Guix-patches via
  2 siblings, 0 replies; 61+ messages in thread
From: ( via Guix-patches via @ 2022-06-11 20:10 UTC (permalink / raw)
  To: 37444

Superseded by #55903 <https://issues.guix.gnu.org/55903>.




^ permalink raw reply	[flat|nested] 61+ messages in thread

end of thread, other threads:[~2022-06-11 20:11 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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         ` [bug#37444] [PATCH v3 21/23] added aerc, a simple email client Martin Becze
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

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).