* [bug#56914] [PATCH 02/41] gnu: Add go-github-com-creack-pty.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56910] [PATCH 03/41] gnu: Add go-google-golang-org-protobuf ( via Guix-patches via
` (39 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56914; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-creack-pty): New variable.
* guix/build-system/go.scm (go-target): Add to exported variables.
---
gnu/packages/golang.scm | 48 ++++++++++++++++++++++++++++++++++++++++
guix/build-system/go.scm | 1 +
2 files changed, 49 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2842c7f481..ed6632a20d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -58,6 +58,7 @@ (define-module (gnu packages golang)
#:use-module (guix memoization)
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
@@ -9939,3 +9940,50 @@ (define-public go-github-com-zenhack-go-notmuch
"The notmuch package provides a Go language binding to the notmuch
email library.")
(license license:gpl3+)))
+
+(define-public go-github-com-creack-pty
+ (package
+ (name "go-github-com-creack-pty")
+ (version "1.1.18")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/creack/pty")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1qqhcgfym0napz8damj7dhfw28g2qn2f5h3lr93i0sxawq926yzc"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/creack/pty"
+ #:modules '((ice-9 popen)
+ (ice-9 textual-ports)
+ (guix build go-build-system)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'regenerate-types
+ (lambda* (#:key import-path #:allow-other-keys)
+ ;; Generated files are included (ztypes_*). We need to remake
+ ;; them with Cgo.
+ (with-directory-excursion (string-append "src/" import-path)
+ (let* ((go-arch
+ #$(car (go-target
+ (or (%current-target-system)
+ (nix-system->gnu-triplet (%current-system))))))
+ (file (string-append "ztypes_" go-arch ".go"))
+ (pipe (open-input-pipe "go tool cgo -godefs types.go"))
+ (text (get-string-all pipe)))
+ (close-pipe pipe)
+ (for-each delete-file
+ (find-files (getcwd) (file-name-predicate
+ "ztypes_[a-zA-Z0-9_]+.go")))
+ (call-with-output-file file
+ (lambda (port)
+ (display text port))))))))))
+ (home-page "https://github.com/creack/pty")
+ (synopsis "Pseudoterminal handling in Go")
+ (description
+ "The pty package provides functions for working with Unix pseudoterminals.")
+ (license license:expat)))
diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm
index 5e0e5bbad3..9e5f972c84 100644
--- a/guix/build-system/go.scm
+++ b/guix/build-system/go.scm
@@ -38,6 +38,7 @@ (define-module (guix build-system go)
go-build-system
go-pseudo-version?
+ go-target
go-version->git-ref))
;; Commentary:
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56910] [PATCH 03/41] gnu: Add go-google-golang-org-protobuf.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
2022-08-03 12:04 ` [bug#56914] [PATCH 02/41] gnu: Add go-github-com-creack-pty ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56911] [PATCH 04/41] gnu: Add go-github-com-xo-terminfo ( via Guix-patches via
` (38 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56910; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ed6632a20d..4df2e75238 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9987,3 +9987,36 @@ (define-public go-github-com-creack-pty
(description
"The pty package provides functions for working with Unix pseudoterminals.")
(license license:expat)))
+
+(define-public go-google-golang-org-protobuf
+ (package
+ (name "go-google-golang-org-protobuf")
+ (version "1.28.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://go.googlesource.com/protobuf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "google.golang.org/protobuf"
+ #:tests? #f ; source-only package
+ #:phases #~(modify-phases %standard-phases
+ ;; source-only package
+ (delete 'build))))
+ (propagated-inputs (list go-github-com-google-go-cmp-cmp
+ go-github-com-golang-protobuf-proto))
+ (home-page "https://google.golang.org/protobuf")
+ (synopsis "Go library for Protocol Buffers")
+ (description
+ "The protobuf package provides a Go implementation of Protocol Buffers, a
+language and platform neutral, extensible mechanism for serializing structured
+data.
+
+This package is a successor to @code{go-github-com-golang-protobuf} with an
+improved and cleaner API.")
+ (license license:bsd-3)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56911] [PATCH 04/41] gnu: Add go-github-com-xo-terminfo.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
2022-08-03 12:04 ` [bug#56914] [PATCH 02/41] gnu: Add go-github-com-creack-pty ( via Guix-patches via
2022-08-03 12:04 ` [bug#56910] [PATCH 03/41] gnu: Add go-google-golang-org-protobuf ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56912] [PATCH 05/41] gnu: Add go-github-com-riywo-loginshell ( via Guix-patches via
` (37 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56911; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-xo-terminfo): New variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4df2e75238..2790bbfdd0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10020,3 +10020,25 @@ (define-public go-google-golang-org-protobuf
This package is a successor to @code{go-github-com-golang-protobuf} with an
improved and cleaner API.")
(license license:bsd-3)))
+
+(define-public go-github-com-xo-terminfo
+ (package
+ (name "go-github-com-xo-terminfo")
+ (version "0.0.0-20210125001918-ca9a967f8778")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xo/terminfo")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05gdcvcbwcrcwxznhvs1q1xh4irz2d10v2mz179pydjh30kjc0j5"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/xo/terminfo"))
+ (home-page "https://github.com/xo/terminfo")
+ (synopsis "Read the terminfo database in Go")
+ (description
+ "The terminfo package implements terminfo database reading for Go.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56912] [PATCH 05/41] gnu: Add go-github-com-riywo-loginshell.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (2 preceding siblings ...)
2022-08-03 12:04 ` [bug#56911] [PATCH 04/41] gnu: Add go-github-com-xo-terminfo ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56913] [PATCH 06/41] gnu: Add go-github-com-miolini-datacounter ( via Guix-patches via
` (36 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56912; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-riywo-loginshell): New
variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2790bbfdd0..a16efbbc76 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10042,3 +10042,29 @@ (define-public go-github-com-xo-terminfo
(description
"The terminfo package implements terminfo database reading for Go.")
(license license:expat)))
+
+(define-public go-github-com-riywo-loginshell
+ (package
+ (name "go-github-com-riywo-loginshell")
+ (version "0.0.0-20200815045211-7d26008be1ab")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/riywo/loginshell")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "138yvis6lipw9x02jyiz7472bxi20206bcfikcar54i3xsww9q4i"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/riywo/loginshell"
+ ;; Tests try to get the current user's login shell; the build
+ ;; user doesn't have one.
+ #:tests? #f))
+ (home-page "https://github.com/riywo/loginshell")
+ (synopsis "Get the user's login shell in Go")
+ (description
+ "The loginshell package provides a Go library to get the login shell
+of the current user.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56913] [PATCH 06/41] gnu: Add go-github-com-miolini-datacounter.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (3 preceding siblings ...)
2022-08-03 12:04 ` [bug#56912] [PATCH 05/41] gnu: Add go-github-com-riywo-loginshell ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56915] [PATCH 07/41] gnu: Add go-github-com-kyoh86-xdg ( via Guix-patches via
` (35 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56913; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-miolini-datacounter): New
variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a16efbbc76..35670f6557 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10068,3 +10068,25 @@ (define-public go-github-com-riywo-loginshell
"The loginshell package provides a Go library to get the login shell
of the current user.")
(license license:expat)))
+
+(define-public go-github-com-miolini-datacounter
+ (package
+ (name "go-github-com-miolini-datacounter")
+ (version "1.0.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/miolini/datacounter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0s1hxqy6666qd524rdp1dr3778davc8gx9brg9lkcjvr5l05s9wa"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/miolini/datacounter"))
+ (home-page "https://github.com/miolini/datacounter")
+ (synopsis "Counters for Go readers and writers")
+ (description
+ "The datacounter package provides counters for Go readers and writers.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56915] [PATCH 07/41] gnu: Add go-github-com-kyoh86-xdg.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (4 preceding siblings ...)
2022-08-03 12:04 ` [bug#56913] [PATCH 06/41] gnu: Add go-github-com-miolini-datacounter ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56916] [PATCH 08/41] gnu: Add go-github-com-go-ini-ini ( via Guix-patches via
` (34 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56915; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-kyoh86-xdg): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 35670f6557..744095c2c0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10090,3 +10090,27 @@ (define-public go-github-com-miolini-datacounter
(description
"The datacounter package provides counters for Go readers and writers.")
(license license:expat)))
+
+(define-public go-github-com-kyoh86-xdg
+ (package
+ (name "go-github-com-kyoh86-xdg")
+ (version "1.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kyoh86/xdg")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0a5nz53fdz1c2qvwlf2dpjdd72nxri95i6q4b07c37kiipgaxncn"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/kyoh86/xdg"))
+ (home-page "https://github.com/kyoh86/xdg")
+ (synopsis "XDG base directories for Go")
+ (description
+ "The xdg package provides lightweight helper functions in Go to get
+config, data and cache directories according to the XDG Base Directory
+Specification.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56916] [PATCH 08/41] gnu: Add go-github-com-go-ini-ini.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (5 preceding siblings ...)
2022-08-03 12:04 ` [bug#56915] [PATCH 07/41] gnu: Add go-github-com-kyoh86-xdg ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56917] [PATCH 09/41] gnu: Add go-github-com-lucasb-eyer-go-colorful ( via Guix-patches via
` (33 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56916; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-go-ini-ini): New variable.
---
gnu/packages/golang.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 744095c2c0..ede74679d3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10114,3 +10114,24 @@ (define-public go-github-com-kyoh86-xdg
config, data and cache directories according to the XDG Base Directory
Specification.")
(license license:expat)))
+
+;;; XXX: Since commit bfb61065f05a6eac0cf63b16db43d0c3e864c658, the
+;;; canonical name of the ini package is `go-github-com-go-ini-ini`,
+;;; not `go-gopkg-in-ini`.
+(define-public go-github-com-go-ini-ini
+ (package
+ (inherit go-gopkg-in-ini)
+ (name "go-github-com-go-ini-ini")
+ (version "1.66.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-ini/ini")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0kqg13606hnw8f75cb59fsy1m85kiqf3csi2g7q2512avdmaphc9"))))
+ (arguments
+ (list #:import-path "github.com/go-ini/ini"))
+ (propagated-inputs (list go-github-com-stretchr-testify))))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56917] [PATCH 09/41] gnu: Add go-github-com-lucasb-eyer-go-colorful.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (6 preceding siblings ...)
2022-08-03 12:04 ` [bug#56916] [PATCH 08/41] gnu: Add go-github-com-go-ini-ini ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56918] [PATCH 10/41] gnu: Add go-github-com-rivo-uniseg ( via Guix-patches via
` (32 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56917; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-lucasb-eyer-go-colorful): New
variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ede74679d3..532f0bdf0d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10135,3 +10135,28 @@ (define-public go-github-com-go-ini-ini
(arguments
(list #:import-path "github.com/go-ini/ini"))
(propagated-inputs (list go-github-com-stretchr-testify))))
+
+(define-public go-github-com-lucasb-eyer-go-colorful
+ (package
+ (name "go-github-com-lucasb-eyer-go-colorful")
+ (version "1.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lucasb-eyer/go-colorful")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs"))))
+ (build-system go-build-system)
+ (inputs (list go-golang-org-x-image))
+ (arguments
+ (list #:import-path "github.com/lucasb-eyer/go-colorful"))
+ (home-page "https://github.com/lucasb-eyer/go-colorful")
+ (synopsis "Library for playing with colors in Go")
+ (description
+ "The colorful package providos a library for using colors in Go.
+colorful stores colors in RGB and provides methods for converting these to
+various color spaces.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56918] [PATCH 10/41] gnu: Add go-github-com-rivo-uniseg.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (7 preceding siblings ...)
2022-08-03 12:04 ` [bug#56917] [PATCH 09/41] gnu: Add go-github-com-lucasb-eyer-go-colorful ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56919] [PATCH 11/41] gnu: Add go-github-com-rivo-tview ( via Guix-patches via
` (31 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56918; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-rivo-uniseg): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 532f0bdf0d..bedd04faef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10160,3 +10160,28 @@ (define-public go-github-com-lucasb-eyer-go-colorful
colorful stores colors in RGB and provides methods for converting these to
various color spaces.")
(license license:expat)))
+
+(define-public go-github-com-rivo-uniseg
+ (package
+ (name "go-github-com-rivo-uniseg")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rivo/uniseg")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0j7h22vfmjj562vr8gpsyrkrwp1pq9ayh5fylv24skxb467g9f0q"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/rivo/uniseg"))
+ (home-page "https://github.com/rivo/uniseg")
+ (synopsis "Unicode text segmentation for Go")
+ (description
+ "The uniseg package provides a tool to iterate over grapheme clusters.
+This may be used to determine the number of user-perceived characters, to
+split strings in their intended places, or to extract individual characters
+which form a unit.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56919] [PATCH 11/41] gnu: Add go-github-com-rivo-tview.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (8 preceding siblings ...)
2022-08-03 12:04 ` [bug#56918] [PATCH 10/41] gnu: Add go-github-com-rivo-uniseg ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56920] [PATCH 12/41] gnu: Add go-github-com-ssor-bom ( via Guix-patches via
` (30 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56919; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-rivo-tview): New variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bedd04faef..161536414c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10185,3 +10185,33 @@ (define-public go-github-com-rivo-uniseg
split strings in their intended places, or to extract individual characters
which form a unit.")
(license license:expat)))
+
+(define-public go-github-com-rivo-tview
+ (package
+ (name "go-github-com-rivo-tview")
+ (version "0.0.0-20220703182358-a13d901d3386")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rivo/tview")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gf1m3ndbc3kgxpv0ryq9a1ahijg6m896sc9k7dvwfjd8vy0q0yd"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/rivo/tview"))
+ (propagated-inputs (list go-golang-org-x-term
+ go-golang-org-x-sys
+ go-github-com-rivo-uniseg
+ go-github-com-mattn-go-runewidth
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-gdamore-tcell-v2))
+ (home-page "https://github.com/rivo/tview")
+ (synopsis "Rich Interactive Widgets for Terminal UIs")
+ (description
+ "The tview package implements rich widgets for terminal based user
+interfaces. The widgets provided with this package are useful for data
+exploration and data entry.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56920] [PATCH 12/41] gnu: Add go-github-com-ssor-bom.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (9 preceding siblings ...)
2022-08-03 12:04 ` [bug#56919] [PATCH 11/41] gnu: Add go-github-com-rivo-tview ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56921] [PATCH 13/41] gnu: Add go-github-com-gogs-chardet ( via Guix-patches via
` (29 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56920; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-ssor-bom): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 161536414c..d9f35ec349 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10215,3 +10215,26 @@ (define-public go-github-com-rivo-tview
interfaces. The widgets provided with this package are useful for data
exploration and data entry.")
(license license:expat)))
+
+(define-public go-github-com-ssor-bom
+ (package
+ (name "go-github-com-ssor-bom")
+ (version "0.0.0-20170718123548-6386211fdfcf")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ssor/bom")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "09g5496ifwqxqclh2iw58plcwcz0sczlnxwqxzwmnl4shdl371ld"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/ssor/bom"))
+ (home-page "https://github.com/ssor/bom")
+ (synopsis "Cleaning BOMs in Go")
+ (description
+ "The bom package provides small tools for cleaning BOMs from a byte
+array or reader.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56921] [PATCH 13/41] gnu: Add go-github-com-gogs-chardet.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (10 preceding siblings ...)
2022-08-03 12:04 ` [bug#56920] [PATCH 12/41] gnu: Add go-github-com-ssor-bom ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56922] [PATCH 14/41] gnu: Add go-github-com-jaytaylor-html2text ( via Guix-patches via
` (28 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56921; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-gogs-chardet): New variable.
---
gnu/packages/golang.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d9f35ec349..26f6b6e7f5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10238,3 +10238,25 @@ (define-public go-github-com-ssor-bom
"The bom package provides small tools for cleaning BOMs from a byte
array or reader.")
(license license:expat)))
+
+(define-public go-github-com-gogs-chardet
+ (package
+ (name "go-github-com-gogs-chardet")
+ (version "0.0.0-20211120154057-b7413eaefb8f")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gogs/chardet")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12j8q5wc9m4n51v2j2m40nahqdl9bh3hzpdp26clzq91kc2amiz0"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/gogs/chardet"))
+ (home-page "https://github.com/gogs/chardet")
+ (synopsis "Character set detection for Go")
+ (description "The chardet package ports character set detection from
+ICU to Go.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56922] [PATCH 14/41] gnu: Add go-github-com-jaytaylor-html2text.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (11 preceding siblings ...)
2022-08-03 12:04 ` [bug#56921] [PATCH 13/41] gnu: Add go-github-com-gogs-chardet ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56923] [PATCH 15/41] gnu: Add go-github-com-go-test-deep ( via Guix-patches via
` (27 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56922; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-jaytaylor-html2text): New
variable.
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 26f6b6e7f5..89027a1b2d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10260,3 +10260,31 @@ (define-public go-github-com-gogs-chardet
(description "The chardet package ports character set detection from
ICU to Go.")
(license license:expat)))
+
+(define-public go-github-com-jaytaylor-html2text
+ (package
+ (name "go-github-com-jaytaylor-html2text")
+ (version "0.0.0-20211105163654-bc68cce691ba")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jaytaylor/html2text")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12ckgkp8xqgp0fh6019nwp4ssg2k1rv1a67cpk37ian4q5zrvppm"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/jaytaylor/html2text"
+ ;; Tests are broken: <https://github.com/jaytaylor/html2text/issues/53>
+ #:tests? #f))
+ (propagated-inputs (list go-golang-org-x-net
+ go-github-com-olekukonko-tablewriter
+ go-github-com-ssor-bom))
+ (home-page "https://github.com/jaytaylor/html2text")
+ (synopsis "Convert HTML emails to text")
+ (description
+ "The html2text package converts HTML emails to plain text, allowing
+text-only mail clients to display them.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56923] [PATCH 15/41] gnu: Add go-github-com-go-test-deep.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (12 preceding siblings ...)
2022-08-03 12:04 ` [bug#56922] [PATCH 14/41] gnu: Add go-github-com-jaytaylor-html2text ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56924] [PATCH 16/41] gnu: Add go-github-com-cention-sany-utf7 ( via Guix-patches via
` (26 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56923; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-go-test-deep): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 89027a1b2d..adeb87be53 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10288,3 +10288,27 @@ (define-public go-github-com-jaytaylor-html2text
"The html2text package converts HTML emails to plain text, allowing
text-only mail clients to display them.")
(license license:expat)))
+
+(define-public go-github-com-go-test-deep
+ (package
+ (name "go-github-com-go-test-deep")
+ (version "1.0.8")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-test/deep")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mmw2w3by7y24jjpjwmf2gfl08c65jihn3si9m0sswmagmdsk8q0"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/go-test/deep"))
+ (home-page "https://github.com/go-test/deep")
+ (synopsis "Human-friendly deep variable equality in Go")
+ (description
+ "The deep package provides the deep.Equal function which is like
+reflect.DeepEqual but returns a list of differences. This is helpful
+when comparing complex types like structures and maps.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56924] [PATCH 16/41] gnu: Add go-github-com-cention-sany-utf7.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (13 preceding siblings ...)
2022-08-03 12:04 ` [bug#56923] [PATCH 15/41] gnu: Add go-github-com-go-test-deep ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56925] [PATCH 17/41] gnu: Add go-github-com-jhillyerd-enmime ( via Guix-patches via
` (25 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56924; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-cention-sany-utf7): New
variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index adeb87be53..906298bad5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10312,3 +10312,27 @@ (define-public go-github-com-go-test-deep
reflect.DeepEqual but returns a list of differences. This is helpful
when comparing complex types like structures and maps.")
(license license:expat)))
+
+(define-public go-github-com-cention-sany-utf7
+ (package
+ (name "go-github-com-cention-sany-utf7")
+ (version "0.0.0-20170124080048-26cad61bd60a")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cention-sany/utf7")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jy15ryfcln1iwchrksqyrnyfy41gisymm4f9sr1d73ja029bznm"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/cention-sany/utf7"))
+ (propagated-inputs (list go-golang-org-x-text))
+ (home-page "https://github.com/cention-sany/utf7")
+ (synopsis "UTF-7 for Go")
+ (description
+ "The utf7 package provides support for the obsolete UTF-7 text
+encoding in Go.")
+ (license license:bsd-3)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56925] [PATCH 17/41] gnu: Add go-github-com-jhillyerd-enmime.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (14 preceding siblings ...)
2022-08-03 12:04 ` [bug#56924] [PATCH 16/41] gnu: Add go-github-com-cention-sany-utf7 ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56926] [PATCH 18/41] gnu: Add go-github-com-gatherstars-com-jwz ( via Guix-patches via
` (24 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56925; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-jhillyerd-enmime): New
variable.
---
gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 906298bad5..30a5c5d87f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10336,3 +10336,38 @@ (define-public go-github-com-cention-sany-utf7
"The utf7 package provides support for the obsolete UTF-7 text
encoding in Go.")
(license license:bsd-3)))
+
+(define-public go-github-com-jhillyerd-enmime
+ (package
+ (name "go-github-com-jhillyerd-enmime")
+ (version "0.9.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jhillyerd/enmime")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "124dqm598phbmalyx2gmxk201z9kq4ckvvdq8rc0akjlp24nxqbb"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/jhillyerd/enmime"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-golang-org-x-net
+ go-github-com-stretchr-testify
+ go-github-com-ssor-bom
+ go-github-com-rivo-uniseg
+ go-github-com-pkg-errors
+ go-github-com-olekukonko-tablewriter
+ go-github-com-mattn-go-runewidth
+ go-github-com-gogs-chardet
+ go-github-com-jaytaylor-html2text
+ go-github-com-go-test-deep
+ go-github-com-cention-sany-utf7))
+ (home-page "https://github.com/jhillyerd/enmime")
+ (synopsis "MIME encoder and decoder for Go")
+ (description
+ "The enmime package implements a MIME encoding and decoding
+library geared towards parsing MIME encoded emails.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56926] [PATCH 18/41] gnu: Add go-github-com-gatherstars-com-jwz.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (15 preceding siblings ...)
2022-08-03 12:04 ` [bug#56925] [PATCH 17/41] gnu: Add go-github-com-jhillyerd-enmime ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56927] [PATCH 19/41] gnu: Add go-github-com-emersion-go-textwrapper ( via Guix-patches via
` (23 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56926; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-gatherstars-com-jwz): New
variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 30a5c5d87f..b8c6868374 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10371,3 +10371,30 @@ (define-public go-github-com-jhillyerd-enmime
"The enmime package implements a MIME encoding and decoding
library geared towards parsing MIME encoded emails.")
(license license:expat)))
+
+(define-public go-github-com-gatherstars-com-jwz
+ (package
+ (name "go-github-com-gatherstars-com-jwz")
+ (version "1.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gatherstars-com/jwz")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1h37h5w139d3rhvp1n7kz2jm5zhk4pjzf3sip04v48nphkika60c"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/gatherstars-com/jwz"))
+ (propagated-inputs (list go-github-com-rivo-tview
+ go-github-com-jhillyerd-enmime
+ go-github-com-gdamore-tcell-v2))
+ (home-page "https://github.com/gatherstars-com/jwz")
+ (synopsis "Implementation in Go of the email threading algorithm
+originally invented for Netscape Mail")
+ (description
+ "The jwz package provides an implementation of the email threading
+algorithm originally designed for use in Netscape Mail 2.0 for Go.")
+ (license license:asl2.0)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56927] [PATCH 19/41] gnu: Add go-github-com-emersion-go-textwrapper.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (16 preceding siblings ...)
2022-08-03 12:04 ` [bug#56926] [PATCH 18/41] gnu: Add go-github-com-gatherstars-com-jwz ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56928] [PATCH 20/41] gnu: Add go-github-com-emersion-go-message ( via Guix-patches via
` (22 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56927; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-textwrapper): New
variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b8c6868374..256f00585d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10398,3 +10398,26 @@ (define-public go-github-com-gatherstars-com-jwz
"The jwz package provides an implementation of the email threading
algorithm originally designed for use in Netscape Mail 2.0 for Go.")
(license license:asl2.0)))
+
+(define-public go-github-com-emersion-go-textwrapper
+ (package
+ (name "go-github-com-emersion-go-textwrapper")
+ (version "0.0.0-20200911093747-65d896831594")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-textwrapper")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lh9d7zvj6gm1rr6sv5xlagklgx9d666hq5srd37a4sdcjkbiqmq"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-textwrapper"))
+ (home-page "https://github.com/emersion/go-textwrapper")
+ (synopsis "Text-wrapping writer for Go")
+ (description
+ "The textwrapper package provides a writer that wraps long text lines to
+a specified length.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56928] [PATCH 20/41] gnu: Add go-github-com-emersion-go-message.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (17 preceding siblings ...)
2022-08-03 12:04 ` [bug#56927] [PATCH 19/41] gnu: Add go-github-com-emersion-go-textwrapper ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56934] [PATCH 21/41] gnu: Add go-github-com-emersion-go-sasl ( via Guix-patches via
` (21 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56928; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-message): New
variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 256f00585d..d89ab049aa 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10421,3 +10421,28 @@ (define-public go-github-com-emersion-go-textwrapper
"The textwrapper package provides a writer that wraps long text lines to
a specified length.")
(license license:expat)))
+
+(define-public go-github-com-emersion-go-message
+ (package
+ (name "go-github-com-emersion-go-message")
+ (version "0.16.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-message")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j5qdhsna28xcs843zsiccw700rld5hin466dl0n3a0ax1w13ay0"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-message"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-github-com-emersion-go-textwrapper))
+ (home-page "https://github.com/emersion/go-message")
+ (synopsis "Internet messages and MIME for Go")
+ (description
+ "The message package implements the Internet Message Format and Multipurpose
+Internet Mail Extensions in Go.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56934] [PATCH 21/41] gnu: Add go-github-com-emersion-go-sasl.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (18 preceding siblings ...)
2022-08-03 12:04 ` [bug#56928] [PATCH 20/41] gnu: Add go-github-com-emersion-go-message ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56930] [PATCH 22/41] gnu: Add go-github-com-emersion-go-imap ( via Guix-patches via
` (20 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56934; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-sasl): New
variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d89ab049aa..404f5ae0e4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10446,3 +10446,26 @@ (define-public go-github-com-emersion-go-message
"The message package implements the Internet Message Format and Multipurpose
Internet Mail Extensions in Go.")
(license license:expat)))
+
+(define-public go-github-com-emersion-go-sasl
+ (package
+ (name "go-github-com-emersion-go-sasl")
+ (version "0.0.0-20211008083017-0b9dcfb154ac")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-sasl")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1cbf86wkqrdinfydndgdlnayg4a5mg3d4vqra377j2sfkg7wj0hs"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-sasl"))
+ (home-page "https://github.com/emersion/go-sasl")
+ (synopsis "SASL library written in Go")
+ (description
+ "The sasl package provides a Simple Authentication and Security Layer
+implementation for Go.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56930] [PATCH 22/41] gnu: Add go-github-com-emersion-go-imap.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (19 preceding siblings ...)
2022-08-03 12:04 ` [bug#56934] [PATCH 21/41] gnu: Add go-github-com-emersion-go-sasl ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56929] [PATCH 23/41] gnu: Add go-github-com-emersion-go-imap-sortthread ( via Guix-patches via
` (19 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56930; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-imap): New
variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 404f5ae0e4..618841952d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10469,3 +10469,29 @@ (define-public go-github-com-emersion-go-sasl
"The sasl package provides a Simple Authentication and Security Layer
implementation for Go.")
(license license:expat)))
+
+(define-public go-github-com-emersion-go-imap
+ (package
+ (name "go-github-com-emersion-go-imap")
+ (version "1.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-imap")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ak2ysvfcc9w0g1070msis8x9sh6gzvf0nd65ks594siwbmqddw8"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-imap"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-github-com-emersion-go-sasl
+ go-github-com-emersion-go-message))
+ (home-page "https://github.com/emersion/go-imap")
+ (synopsis "IMAP4rev1 library written in Go")
+ (description
+ "The imap package provides an IMAP4rev1 library written in Go. It
+can be used to build IMAP clients and servers.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56929] [PATCH 23/41] gnu: Add go-github-com-emersion-go-imap-sortthread.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (20 preceding siblings ...)
2022-08-03 12:04 ` [bug#56930] [PATCH 22/41] gnu: Add go-github-com-emersion-go-imap ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56931] [PATCH 24/41] gnu: Add go-github-com-protonmail-go-crypto ( via Guix-patches via
` (18 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56929; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-imap-sortthread):
New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 618841952d..0550aa1a0e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10495,3 +10495,29 @@ (define-public go-github-com-emersion-go-imap
"The imap package provides an IMAP4rev1 library written in Go. It
can be used to build IMAP clients and servers.")
(license license:expat)))
+
+(define-public go-github-com-emersion-go-imap-sortthread
+ (package
+ (name "go-github-com-emersion-go-imap-sortthread")
+ (version "1.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-imap-sortthread")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1cfbgz1l5angnj52v9pxwggai2shx0h78ffcp7j4r4lr7lzflnwz"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-imap-sortthread"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-github-com-emersion-go-sasl
+ go-github-com-emersion-go-imap))
+ (home-page "https://github.com/emersion/go-imap-sortthread")
+ (synopsis "Sorting and threading of messages for the imap package")
+ (description
+ "The sortthread package implements message sorting and threading for
+@code{go-github-com-emersion-go-imap}.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56931] [PATCH 24/41] gnu: Add go-github-com-protonmail-go-crypto.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (21 preceding siblings ...)
2022-08-03 12:04 ` [bug#56929] [PATCH 23/41] gnu: Add go-github-com-emersion-go-imap-sortthread ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56933] [PATCH 25/41] gnu: Add go-github-com-emersion-go-pgpmail ( via Guix-patches via
` (17 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56931; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-protonmail-go-crypto): New variable.
---
gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0550aa1a0e..1616d19c9d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10521,3 +10521,35 @@ (define-public go-github-com-emersion-go-imap-sortthread
"The sortthread package implements message sorting and threading for
@code{go-github-com-emersion-go-imap}.")
(license license:expat)))
+
+(define-public go-github-com-protonmail-go-crypto
+ (package
+ (name "go-github-com-protonmail-go-crypto")
+ (version "0.0.0-20220623141421-5afb4c282135")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ProtonMail/go-crypto")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05qxdbn8wdk901z5kw2r3jdrag58nxlcsy0p8xd6rq0d71sw94wy"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/ProtonMail/go-crypto"
+ #:tests? #f ; Source-only package.
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package.
+ (delete 'build))))
+ (propagated-inputs (list go-golang-org-x-crypto))
+ (home-page "https://github.com/ProtonMail/go-crypto")
+ (synopsis "Fork of golang.org/x/crypto with up-to-date OpenPGP
+implementation")
+ (description
+ "The crypto package provides cryptography for Go. This version of the
+package is a fork that adds a more up-to-date OpenPGP implementation. It
+is completely backwards compatible with
+@url{golang.org/x/crypto,the official package}.")
+ (license license:bsd-3)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56933] [PATCH 25/41] gnu: Add go-github-com-emersion-go-pgpmail.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (22 preceding siblings ...)
2022-08-03 12:04 ` [bug#56931] [PATCH 24/41] gnu: Add go-github-com-protonmail-go-crypto ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56936] [PATCH 26/41] gnu: Add go-github-com-emersion-go-smtp ( via Guix-patches via
` (16 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56933; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-pgpmail): New
variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1616d19c9d..2cb2a336ad 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10553,3 +10553,32 @@ (define-public go-github-com-protonmail-go-crypto
is completely backwards compatible with
@url{golang.org/x/crypto,the official package}.")
(license license:bsd-3)))
+
+(define-public go-github-com-emersion-go-pgpmail
+ (package
+ (name "go-github-com-emersion-go-pgpmail")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-pgpmail")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ar26b0apw5bxn58qfn1a79cxigbmrqm1irh1rb7x57fydihc7wm"))))
+ (build-system go-build-system)
+ (arguments
+ (list ;; tests don't support our version of protonmail/go-crypto; see
+ ;; <https://github.com/emersion/go-pgpmail/issues/12>
+ #:tests? #f
+ #:import-path "github.com/emersion/go-pgpmail"))
+ (propagated-inputs (list go-golang-org-x-text
+ go-golang-org-x-crypto
+ go-github-com-emersion-go-message
+ go-github-com-protonmail-go-crypto))
+ (home-page "https://github.com/emersion/go-pgpmail")
+ (synopsis "PGP mail encryption for Go")
+ (description
+ "The pgpmail package implements PGP encryption for e-mail messages.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56936] [PATCH 26/41] gnu: Add go-github-com-emersion-go-smtp.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (23 preceding siblings ...)
2022-08-03 12:04 ` [bug#56933] [PATCH 25/41] gnu: Add go-github-com-emersion-go-pgpmail ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56935] [PATCH 27/41] gnu: Add go-github-com-niemeyer-pretty ( via Guix-patches via
` (15 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56936; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-smtp): New
variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2cb2a336ad..85a210df66 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10582,3 +10582,27 @@ (define-public go-github-com-emersion-go-pgpmail
(description
"The pgpmail package implements PGP encryption for e-mail messages.")
(license license:expat)))
+
+(define-public go-github-com-emersion-go-smtp
+ (package
+ (name "go-github-com-emersion-go-smtp")
+ (version "0.15.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-smtp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vhc0vpjd4yhxk6wrh01sdpi7nprjn98s46yy82xwlkm0cskl0h7"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-smtp"))
+ (propagated-inputs (list go-github-com-emersion-go-sasl))
+ (home-page "https://github.com/emersion/go-smtp")
+ (synopsis "SMTP implementation for Go")
+ (description
+ "The smtp package implements the Simple Mail Transfer Protocol as defined
+by RFC 5321.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56935] [PATCH 27/41] gnu: Add go-github-com-niemeyer-pretty.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (24 preceding siblings ...)
2022-08-03 12:04 ` [bug#56936] [PATCH 26/41] gnu: Add go-github-com-emersion-go-smtp ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56932] [PATCH 28/41] gnu: Add go-github-com-arran4-golang-ical ( via Guix-patches via
` (14 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56935; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-niemeyer-pretty): New variable.
---
gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 85a210df66..41bbb3c228 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10606,3 +10606,36 @@ (define-public go-github-com-emersion-go-smtp
"The smtp package implements the Simple Mail Transfer Protocol as defined
by RFC 5321.")
(license license:expat)))
+
+(define-public go-github-com-niemeyer-pretty
+ (package
+ (name "go-github-com-niemeyer-pretty")
+ (version "0.0.0-20200227124842-a10e7caefd8e")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/niemeyer/pretty")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1jmazh4xzaa3v6g46hz60q2z7nmqs9l9cxdzmmscn3kbcs2znq4v"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/niemeyer/pretty"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'int-to-string-with-rune
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (substitute* "formatter.go"
+ (("s \\+= string\\(i\\)")
+ "s += string(rune(i))"))))))))
+ (propagated-inputs (list go-github-com-kr-text))
+ (home-page "https://github.com/niemeyer/pretty")
+ (synopsis "Pretty-print Go values")
+ (description
+ "The pretty package provides pretty-printing for Go values. This is
+useful during debugging, to avoid wrapping long output lines in the
+terminal.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56932] [PATCH 28/41] gnu: Add go-github-com-arran4-golang-ical.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (25 preceding siblings ...)
2022-08-03 12:04 ` [bug#56935] [PATCH 27/41] gnu: Add go-github-com-niemeyer-pretty ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56941] [PATCH 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt ( via Guix-patches via
` (13 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56932; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-arran4-golang-ical): New
variable.
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 41bbb3c228..6dda84e855 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10639,3 +10639,31 @@ (define-public go-github-com-niemeyer-pretty
useful during debugging, to avoid wrapping long output lines in the
terminal.")
(license license:expat)))
+
+(define-public go-github-com-arran4-golang-ical
+ (package
+ (name "go-github-com-arran4-golang-ical")
+ (version "0.0.0-20220517104411-fd89fefb0182")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/arran4/golang-ical")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0bxs0b5yg26liiifc0cc41l307r0wc93hp8iygv8dgpc60yzncaw"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/arran4/golang-ical"))
+ (propagated-inputs (list go-gopkg-in-yaml-v3
+ go-gopkg-in-check-v1
+ go-github-com-stretchr-testify
+ go-github-com-niemeyer-pretty
+ go-github-com-kr-text
+ go-github-com-davecgh-go-spew))
+ (home-page "https://github.com/arran4/golang-ical")
+ (synopsis "Handle iCalenders in Go")
+ (description
+ "The ical package provides an ICS/iCalender parser and serialiser for Go.")
+ (license license:asl2.0)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56941] [PATCH 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (26 preceding siblings ...)
2022-08-03 12:04 ` [bug#56932] [PATCH 28/41] gnu: Add go-github-com-arran4-golang-ical ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56938] [PATCH 30/41] gnu: Add go-github-com-lithammer-fuzzysearch ( via Guix-patches via
` (12 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56941; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-git-sr-ht--sircmpwn-getopt): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6dda84e855..bcd73c3c1b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10667,3 +10667,27 @@ (define-public go-github-com-arran4-golang-ical
(description
"The ical package provides an ICS/iCalender parser and serialiser for Go.")
(license license:asl2.0)))
+
+(define-public go-git-sr-ht--sircmpwn-getopt
+ (package
+ (name "go-git-sr-ht--sircmpwn-getopt")
+ (version "1.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~sircmpwn/getopt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0f9rammnmhaz21qkmz7qf76r8jlzi323g05ps3j7gwrxlw7442a6"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "git.sr.ht/~sircmpwn/getopt"))
+ (propagated-inputs (list go-github-com-stretchr-testify))
+ (home-page "https://git.sr.ht/~sircmpwn/getopt")
+ (synopsis "POSIX getopt for Go")
+ (description
+ "The getopt package is a POSIX-compatible implementation of getopt(3)
+for Go.")
+ (license license:bsd-3)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56938] [PATCH 30/41] gnu: Add go-github-com-lithammer-fuzzysearch.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (27 preceding siblings ...)
2022-08-03 12:04 ` [bug#56941] [PATCH 29/41] gnu: Add go-git-sr-ht--sircmpwn-getopt ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56939] [PATCH 31/41] gnu: Add go-github-com-google-shlex ( via Guix-patches via
` (11 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56938; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): New
variable.
---
gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bcd73c3c1b..fd2335b61a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10691,3 +10691,32 @@ (define-public go-git-sr-ht--sircmpwn-getopt
"The getopt package is a POSIX-compatible implementation of getopt(3)
for Go.")
(license license:bsd-3)))
+
+(define-public go-github-com-lithammer-fuzzysearch
+ (package
+ (name "go-github-com-lithammer-fuzzysearch")
+ (version "1.1.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lithammer/fuzzysearch")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b036sm42cf64diwlqhx24vxy6g5afrmfbdfyqhpg8zrii3lpwns"))))
+ (build-system go-build-system)
+ (propagated-inputs (list go-golang-org-x-text))
+ (arguments
+ (list #:import-path "github.com/lithammer/fuzzysearch"
+ #:tests? #f ; Source-only package.
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package.
+ (delete 'build))))
+ (home-page "https://github.com/lithammer/fuzzysearch")
+ (synopsis "Tiny and fast fuzzy search in Go")
+ (description
+ "A speedy fuzzy matching package for Go inspired by the JavaScript
+library bevacqua/fuzzysearch.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56939] [PATCH 31/41] gnu: Add go-github-com-google-shlex.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (28 preceding siblings ...)
2022-08-03 12:04 ` [bug#56938] [PATCH 30/41] gnu: Add go-github-com-lithammer-fuzzysearch ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 15:38 ` [bug#55903] " Maxime Devos
2022-08-03 12:04 ` [bug#56937] [PATCH 32/41] gnu: Add go-github-com-emersion-go-maildir ( via Guix-patches via
` (10 subsequent siblings)
40 siblings, 1 reply; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56939; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-google-shlex): New variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fd2335b61a..9959dd118c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10720,3 +10720,26 @@ (define-public go-github-com-lithammer-fuzzysearch
"A speedy fuzzy matching package for Go inspired by the JavaScript
library bevacqua/fuzzysearch.")
(license license:expat)))
+
+(define-public go-github-com-google-shlex
+ (package
+ (name "go-github-com-google-shlex")
+ (version "0.0.0-20191202100458-e7afc7fbc510")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/shlex")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14z8hqyik910wk2qwnzgz8mjsmiamxa0pj55ahbv0jx6j3dgvzfm"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/google/shlex"))
+ (home-page "https://github.com/google/shlex")
+ (synopsis "Simple lexer for Go")
+ (description
+ "Shlex is a simple lexer for Go that supports shell-style quoting,
+commenting, and escaping.")
+ (license license:asl2.0)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#55903] [bug#56939] [PATCH 31/41] gnu: Add go-github-com-google-shlex.
2022-08-03 12:04 ` [bug#56939] [PATCH 31/41] gnu: Add go-github-com-google-shlex ( via Guix-patches via
@ 2022-08-03 15:38 ` Maxime Devos
2022-08-03 18:37 ` ( via Guix-patches via
0 siblings, 1 reply; 44+ messages in thread
From: Maxime Devos @ 2022-08-03 15:38 UTC (permalink / raw)
To: (, 56939, 55903
[-- Attachment #1.1.1.1: Type: text/plain, Size: 3456 bytes --]
On 03-08-2022 14:04, ( via Guix-patches via wrote:
> + (arguments
> + (list #:import-path "github.com/zenhack/go.notmuch"
> + ;; XXX: Tests require you to download fixtures from the Internet.
> + ;; See<https://github.com/zenhack/go.notmuch/blob/master/Makefile>.
> + #:tests? #f))
> + (propagated-inputs (list notmuch))
Can we just substitute* in the appropriate library reference or whatever
is the Go equivalent instead of propagating? Maybe in in configList.go,
we can replace -lnotmuch by -l/gnu/store/.../libnotmuch.so or add a
-L/gnu/store/... there?
> From: "(unmatched-parenthesis"<paren@disroot.org>
>
> * gnu/packages/golang.scm (go-github-com-google-shlex): New variable.
> ---
> gnu/packages/golang.scm | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
> index fd2335b61a..9959dd118c 100644
> --- a/gnu/packages/golang.scm
> +++ b/gnu/packages/golang.scm
> @@ -10720,3 +10720,26 @@ (define-public go-github-com-lithammer-fuzzysearch
> "A speedy fuzzy matching package for Go inspired by the JavaScript
> library bevacqua/fuzzysearch.")
> (license license:expat)))
> +
> +(define-public go-github-com-google-shlex
> + (package
> + (name "go-github-com-google-shlex")
> + (version "0.0.0-20191202100458-e7afc7fbc510")
Why has the commit and description been changed since
<https://issues.guix.gnu.org/37444>? The change in synopsis seems good
to me though.
Also, there are multiple patches adding go-github-com-google-shlex now
-- as I've asked in the past, can we stop doing that, or at least add a
pointer to the previous version to avoid double work for reviewers?
Likewise for:
* https://issues.guix.gnu.org/search?query=go-google-golang-org-protobuf
* https://issues.guix.gnu.org/search?query=go-github-com-xo-terminfo
* https://issues.guix.gnu.org/search?query=go-github-com-go-ini-ini
* https://issues.guix.gnu.org/search?query=go-github-com-emersion-go-pgpmail
* [...]
Like, if I would properly review (including checking the source code)
this patch series and didn't know some of those were reviewed
previously, then I would have to do the review again even though that's
double work better spent elsewhere and if I later discover these were
actually reviewed previously, that doesn't sound good for motivation to me.
And even though I know some of those have been submitted and reviewed
previously, I don't remember which ones exactly and to which degree
(only superficial checks like checking synopsis, description and
#:tests?, or also source code checks, ...), so if I were to review this
(*), I would have to look up the old patches and reviews, see which ones
were reviewed previously and to what degree, look if changes have been
made (e.g. changing which commit to use) that invalidated the review,
..., which is not motivating to me.
(*) To be clear, I consider it unlikely for me to seriously review Go
stuff in the future, as the Go world is full of forks that make no
attempt to contribute back to upstream, or many independent
implementations (see e.g. terminfo and shlex) where a single or maybe
two implementations would suffice, often there's a lack of attempting
backwards compatibility and version numbers are often just 0.0.0, ...
Greetings,
Maxime.
[-- Attachment #1.1.1.2: Type: text/html, Size: 4850 bytes --]
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 44+ messages in thread
* [bug#55903] [bug#56939] [PATCH 31/41] gnu: Add go-github-com-google-shlex.
2022-08-03 15:38 ` [bug#55903] " Maxime Devos
@ 2022-08-03 18:37 ` ( via Guix-patches via
0 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 18:37 UTC (permalink / raw)
To: Maxime Devos, 56939, 55903
On Wed Aug 3, 2022 at 4:38 PM BST, Maxime Devos wrote:
> Can we just substitute* in the appropriate library reference or whatever
> is the Go equivalent instead of propagating? Maybe in in configList.go,
> we can replace -lnotmuch by -l/gnu/store/.../libnotmuch.so or add a
> -L/gnu/store/... there?
Good point! I'll try that.
> > * gnu/packages/golang.scm (go-github-com-google-shlex): New variable.
> > ---
> > gnu/packages/golang.scm | 23 +++++++++++++++++++++++
> > 1 file changed, 23 insertions(+)
> >
> > diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
> > index fd2335b61a..9959dd118c 100644
> > --- a/gnu/packages/golang.scm
> > +++ b/gnu/packages/golang.scm
> > @@ -10720,3 +10720,26 @@ (define-public go-github-com-lithammer-fuzzysearch
> > "A speedy fuzzy matching package for Go inspired by the JavaScript
> > library bevacqua/fuzzysearch.")
> > (license license:expat)))
> > +
> > +(define-public go-github-com-google-shlex
> > + (package
> > + (name "go-github-com-google-shlex")
> > + (version "0.0.0-20191202100458-e7afc7fbc510")
>
> Why has the commit and description been changed since
> <https://issues.guix.gnu.org/37444>? The change in synopsis seems good
> to me though.
I never referenced that issue in the making of this patchset :) I'll
change its description to that issue's version if you wish.
> Also, there are multiple patches adding go-github-com-google-shlex now
> -- as I've asked in the past, can we stop doing that, or at least add a
> pointer to the previous version to avoid double work for reviewers?
> Likewise for:
>
> * https://issues.guix.gnu.org/search?query=go-google-golang-org-protobuf
> * https://issues.guix.gnu.org/search?query=go-github-com-xo-terminfo
> * https://issues.guix.gnu.org/search?query=go-github-com-go-ini-ini
> * https://issues.guix.gnu.org/search?query=go-github-com-emersion-go-pgpmail
> * [...]
Maybe we could merge the patches adding those duplicate packages
standalone, without merging the other parts of the patchsets, so there
would be no need for anyone to write them again in the future.
> (*) To be clear, I consider it unlikely for me to seriously review Go
> stuff in the future, as the Go world is full of forks that make no
> attempt to contribute back to upstream, or many independent
> implementations (see e.g. terminfo and shlex) where a single or maybe
> two implementations would suffice, often there's a lack of attempting
> backwards compatibility and version numbers are often just 0.0.0, ...
I know what you mean. It's a huge pain.
-- (
^ permalink raw reply [flat|nested] 44+ messages in thread
* [bug#56937] [PATCH 32/41] gnu: Add go-github-com-emersion-go-maildir.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (29 preceding siblings ...)
2022-08-03 12:04 ` [bug#56939] [PATCH 31/41] gnu: Add go-github-com-google-shlex ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56942] [PATCH 33/41] gnu: Add go-github-com-emersion-go-milter ( via Guix-patches via
` (9 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56937; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-maildir): New
variable.
---
gnu/packages/golang.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9959dd118c..d3d1b9e957 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10743,3 +10743,26 @@ (define-public go-github-com-google-shlex
"Shlex is a simple lexer for Go that supports shell-style quoting,
commenting, and escaping.")
(license license:asl2.0)))
+
+(define-public go-github-com-emersion-go-maildir
+ (package
+ (name "go-github-com-emersion-go-maildir")
+ (version "0.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-maildir")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1rs9kbacjpcza25pmdkbm7sdm7r6gq4g44nihi9asyrvspx96zf2"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-maildir"))
+ (home-page "https://github.com/emersion/go-maildir")
+ (synopsis "Maildir interface for Go")
+ (description
+ "The maildir package provides an interface to mailboxes in the Maildir
+format.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56942] [PATCH 33/41] gnu: Add go-github-com-emersion-go-milter.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (30 preceding siblings ...)
2022-08-03 12:04 ` [bug#56937] [PATCH 32/41] gnu: Add go-github-com-emersion-go-maildir ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56940] [PATCH 34/41] gnu: Add go-github-com-emersion-go-msgauth ( via Guix-patches via
` (8 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56942; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-milter): New
variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d3d1b9e957..ac67ba9a2e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10766,3 +10766,27 @@ (define-public go-github-com-emersion-go-maildir
"The maildir package provides an interface to mailboxes in the Maildir
format.")
(license license:expat)))
+
+(define-public go-github-com-emersion-go-milter
+ (package
+ (name "go-github-com-emersion-go-milter")
+ (version "0.3.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-milter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10vpry5gjz2bh9qchcx4p59zm7cc6cb6bfkii2n6vsn4svb950sa"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-milter"))
+ (propagated-inputs (list go-github-com-emersion-go-message))
+ (home-page "https://github.com/emersion/go-milter")
+ (synopsis "Milter mail filters in Go")
+ (description
+ "The milter package provides an interface to implement milter mail
+filters in Go.")
+ (license license:bsd-2)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56940] [PATCH 34/41] gnu: Add go-github-com-emersion-go-msgauth.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (31 preceding siblings ...)
2022-08-03 12:04 ` [bug#56942] [PATCH 33/41] gnu: Add go-github-com-emersion-go-milter ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56943] [PATCH 35/41] gnu: Add go-github-com-onsi-gomega ( via Guix-patches via
` (7 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56940; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/golang.scm (go-github-com-emersion-go-msgauth): New
variable.
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ac67ba9a2e..a788a767e0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10790,3 +10790,33 @@ (define-public go-github-com-emersion-go-milter
"The milter package provides an interface to implement milter mail
filters in Go.")
(license license:bsd-2)))
+
+(define-public go-github-com-emersion-go-msgauth
+ (package
+ (name "go-github-com-emersion-go-msgauth")
+ (version "0.6.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emersion/go-msgauth")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ds8yr4cm9wigcxg1sxc2m0wmy4z9n6gws3mj50dmf2ayij69z9j"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/emersion/go-msgauth"
+ #:tests? #f ; Source-only package.
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Source-only package.
+ (delete 'build))))
+ (propagated-inputs (list go-golang-org-x-crypto
+ go-github-com-emersion-go-milter
+ go-github-com-emersion-go-message))
+ (home-page "https://github.com/emersion/go-msgauth")
+ (synopsis "Email authentication for Go")
+ (description
+ "The msgauth package provides a Go library for authenticating emails.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56943] [PATCH 35/41] gnu: Add go-github-com-onsi-gomega.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (32 preceding siblings ...)
2022-08-03 12:04 ` [bug#56940] [PATCH 34/41] gnu: Add go-github-com-emersion-go-msgauth ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56944] [PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1 ( via Guix-patches via
` (6 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56943; +Cc: (
* gnu/packages/golang.scm (go-github-com-onsi-gomega): New variable.
---
gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a788a767e0..6ee01b9ea1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10820,3 +10820,34 @@ (define-public go-github-com-emersion-go-msgauth
(description
"The msgauth package provides a Go library for authenticating emails.")
(license license:expat)))
+
+(define-public go-github-com-onsi-gomega
+ (package
+ (name "go-github-com-onsi-gomega")
+ (version "1.19.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/onsi/gomega")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "092phwk97sk4sv0nbx5pfhqs6x3x1lnrjwyda1m6b6zwrfmq5c6i"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/onsi/gomega"
+ ;; Unless we disable the tests, we have a circular dependency on
+ ;; ginkgo/v2.
+ #:tests? #f))
+ (propagated-inputs (list go-github-com-golang-protobuf-proto
+ go-golang-org-x-net
+ go-golang-org-x-sys
+ go-golang-org-x-text
+ go-google-golang-org-protobuf
+ go-gopkg-in-yaml-v2))
+ (home-page "https://github.com/onsi/gomega")
+ (synopsis "Matcher library for Ginkgo")
+ (description
+ "Gomega is the preferred matcher library for the Ginkgo test framework.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56944] [PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (33 preceding siblings ...)
2022-08-03 12:04 ` [bug#56943] [PATCH 35/41] gnu: Add go-github-com-onsi-gomega ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56945] [PATCH 37/41] gnu: Add go-github-com-nxadm-tail ( via Guix-patches via
` (5 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56944; +Cc: (
* gnu/packages/golang.scm (go-gopkg-in-tomb-v1): New variable.
---
gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 6ee01b9ea1..da7b983475 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10851,3 +10851,29 @@ (define-public go-github-com-onsi-gomega
(description
"Gomega is the preferred matcher library for the Ginkgo test framework.")
(license license:expat)))
+
+(define-public go-gopkg-in-tomb-v1
+ (package
+ (inherit go-gopkg.in-tomb.v2)
+ (name "go-gopkg-in-tomb-v1")
+ (version "1.0.0-20141024135613-dd632973f1e7")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gopkg.in/tomb.v1")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"))))
+ (arguments
+ (list #:import-path "gopkg.in/tomb.v1"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-test
+ (lambda* (#:key import-path #:allow-other-keys)
+ (substitute* (string-append "src/" import-path
+ "/tomb_test.go")
+ (("t.Fatalf\\(`Killf\\(\"BO%s")
+ "t.Fatalf(`Killf(\"BO%%s")))))))
+ (home-page "https://gopkg.in/tomb.v1")))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56945] [PATCH 37/41] gnu: Add go-github-com-nxadm-tail.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (34 preceding siblings ...)
2022-08-03 12:04 ` [bug#56944] [PATCH 36/41] gnu: Add go-gopkg-in-tomb-v1 ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56946] [PATCH 38/41] gnu: Add go-github-com-go-task-slim-sprig ( via Guix-patches via
` (4 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56945; +Cc: (
* gnu/packages/golang.scm (go-github-com-nxadm-tail): New variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index da7b983475..a7a0ce6391 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10877,3 +10877,27 @@ (define-public go-gopkg-in-tomb-v1
(("t.Fatalf\\(`Killf\\(\"BO%s")
"t.Fatalf(`Killf(\"BO%%s")))))))
(home-page "https://gopkg.in/tomb.v1")))
+
+(define-public go-github-com-nxadm-tail
+ (package
+ (name "go-github-com-nxadm-tail")
+ (version "1.4.8")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nxadm/tail")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j2gi485fhwdpmyzn42wk62103fclwbfywg42p275z1qv2bsz1rc"))))
+ (build-system go-build-system)
+ (arguments (list #:import-path "github.com/nxadm/tail"))
+ (propagated-inputs (list go-gopkg-in-tomb-v1
+ go-github-com-fsnotify-fsnotify))
+ (home-page "https://github.com/nxadm/tail")
+ (synopsis "Go implementation of the functionality of @command{tail -f}")
+ (description
+ "@code{tail} provides a Go library for reading from continuously updating
+files, like the @command{tail -f} command does.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56946] [PATCH 38/41] gnu: Add go-github-com-go-task-slim-sprig.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (35 preceding siblings ...)
2022-08-03 12:04 ` [bug#56945] [PATCH 37/41] gnu: Add go-github-com-nxadm-tail ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56947] [PATCH 39/41] gnu: Add go-github-com-onsi-ginkgo ( via Guix-patches via
` (3 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56946; +Cc: (
* gnu/packages/golang.scm (go-github-com-go-task-slim-sprig): New
variable.
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a7a0ce6391..10fec324b0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10901,3 +10901,31 @@ (define-public go-github-com-nxadm-tail
"@code{tail} provides a Go library for reading from continuously updating
files, like the @command{tail -f} command does.")
(license license:expat)))
+
+(define-public go-github-com-go-task-slim-sprig
+ (let ((commit "afa1e2071829e4db655eb448d6c7c16eb0bc5766")
+ (revision "0"))
+ (package
+ (name "go-github-com-go-task-slim-sprig")
+ (version (git-version "2.20.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go-task/slim-sprig")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1185y8qygv8gb3wpghx5d945wq68j4dbaiffq3h0dh453g4h1w7a"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/go-task/slim-sprig"
+ ;; Tests try to access the network.
+ #:tests? #f))
+ (home-page "https://github.com/go-task/slim-sprig")
+ (synopsis "Various useful template functions for Go")
+ (description
+ "Sprig provides over 100 functions that extend the Go template system.
+Slim-Sprig is a fork of Sprig that removes all external dependencies to make the
+library more lightweight.")
+ (license license:expat))))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56947] [PATCH 39/41] gnu: Add go-github-com-onsi-ginkgo.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (36 preceding siblings ...)
2022-08-03 12:04 ` [bug#56946] [PATCH 38/41] gnu: Add go-github-com-go-task-slim-sprig ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56948] [PATCH 40/41] gnu: Add go-github-com-syndtr-goleveldb-leveldb ( via Guix-patches via
` (2 subsequent siblings)
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56947; +Cc: (
* gnu/packages/golang.scm (go-github-com-onsi-ginkgo): New variable.
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 10fec324b0..0dc43a48fb 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10929,3 +10929,31 @@ (define-public go-github-com-go-task-slim-sprig
Slim-Sprig is a fork of Sprig that removes all external dependencies to make the
library more lightweight.")
(license license:expat))))
+
+(define-public go-github-com-onsi-ginkgo
+ (package
+ (name "go-github-com-onsi-ginkgo")
+ (version "1.16.5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/onsi/ginkgo")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hh6n7q92y0ai8k6rj2yzw6wwxikhyiyk4j92zgvf1zad0gmqqmz"))))
+ (build-system go-build-system)
+ (arguments (list #:import-path "github.com/onsi/ginkgo"))
+ (propagated-inputs (list go-golang-org-x-sys
+ go-golang-org-x-tools
+ go-github-com-go-task-slim-sprig
+ go-github-com-nxadm-tail
+ go-github-com-onsi-gomega))
+ (home-page "https://github.com/onsi/ginkgo")
+ (synopsis "BDD-style testing framework for Go")
+ (description
+ "Ginkgo is a Behaviour-Driven Development testing framework for Go. It
+builds on top of Go's builtin @code{testing} library and is complemented by the
+Gomega matcher library.")
+ (license license:expat)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56948] [PATCH 40/41] gnu: Add go-github-com-syndtr-goleveldb-leveldb.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (37 preceding siblings ...)
2022-08-03 12:04 ` [bug#56947] [PATCH 39/41] gnu: Add go-github-com-onsi-ginkgo ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:04 ` [bug#56949] [PATCH 41/41] gnu: Add aerc ( via Guix-patches via
2022-08-03 12:25 ` [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56948; +Cc: (
* gnu/packages/golang.scm (go-github-com-syndtr-goleveldb-leveldb): New
variable.
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0dc43a48fb..0fd2f9ced3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10957,3 +10957,30 @@ (define-public go-github-com-onsi-ginkgo
builds on top of Go's builtin @code{testing} library and is complemented by the
Gomega matcher library.")
(license license:expat)))
+
+(define-public go-github-com-syndtr-goleveldb-leveldb
+ (package
+ (name "go-github-com-syndtr-goleveldb-leveldb")
+ (version "1.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/syndtr/goleveldb")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "042k0gbzs5waqpxmd7nv5h93mlva861s66c3s9gfg1fym5dx4vmd"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "github.com/syndtr/goleveldb/leveldb"
+ #:unpack-path "github.com/syndtr/goleveldb"))
+ (propagated-inputs (list go-github-com-onsi-gomega
+ go-github-com-onsi-ginkgo
+ go-github-com-golang-snappy))
+ (home-page "https://github.com/syndtr/goleveldb")
+ (synopsis "LevelDB implementation in Go")
+ (description
+ "This package provides a Go implementation of the LevelDB key/value
+storage system.")
+ (license license:bsd-2)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56949] [PATCH 41/41] gnu: Add aerc.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (38 preceding siblings ...)
2022-08-03 12:04 ` [bug#56948] [PATCH 40/41] gnu: Add go-github-com-syndtr-goleveldb-leveldb ( via Guix-patches via
@ 2022-08-03 12:04 ` ( via Guix-patches via
2022-08-03 12:25 ` [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:04 UTC (permalink / raw)
To: 56949; +Cc: (unmatched-parenthesis
From: "(unmatched-parenthesis" <paren@disroot.org>
* gnu/packages/mail.scm (aerc): New variable.
---
gnu/packages/mail.scm | 85 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index ca4b3e819e..11dfcc02a5 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -49,6 +49,7 @@
;;; Copyright © 2022 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2022 muradm <mail@muradm.net>
+;;; Copyright © 2022 ( <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4678,3 +4679,87 @@ (define-public smtpmail
mailserver on their machine. It enables these users to send their mail over a
remote SMTP server.")
(license license:gpl2+)))
+
+(define-public aerc
+ (package
+ (name "aerc")
+ (version "0.11.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~rjarry/aerc")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05q7ilmjl9mfd0a72ayvl8f1fqxk27xmxbrw1dspbhc6vc27lj63"))))
+ (build-system go-build-system)
+ (arguments
+ (list #:import-path "git.sr.ht/~rjarry/aerc"
+ #:install-source? #f ; end-user application
+ #:build-flags
+ #~(list "-tags=notmuch" "-ldflags"
+ (string-append "-X main.Version=" #$version
+ " -X git.sr.ht/~rjarry/aerc/config.shareDir="
+ #$output "/share/aerc"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'doc
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "make" "doc"))))
+ (replace 'install
+ (lambda* (#:key outputs import-path #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "make" "install"
+ (string-append "PREFIX=" out)))))))))
+ (inputs (list go-github-com-zenhack-go-notmuch
+ go-golang-org-x-oauth2
+ go-github-com-xo-terminfo
+ go-github-com-stretchr-testify
+ go-github-com-riywo-loginshell
+ go-github-com-pkg-errors
+ go-github-com-mitchellh-go-homedir
+ go-github-com-miolini-datacounter
+ go-github-com-mattn-go-runewidth
+ go-github-com-mattn-go-isatty
+ go-github-com-lithammer-fuzzysearch
+ go-github-com-kyoh86-xdg
+ go-github-com-imdario-mergo
+ go-github-com-google-shlex
+ go-github-com-go-ini-ini
+ go-github-com-gdamore-tcell
+ go-github-com-gatherstars-com-jwz
+ go-github-com-fsnotify-fsnotify
+ go-github-com-emersion-go-smtp
+ go-github-com-emersion-go-sasl
+ go-github-com-emersion-go-pgpmail
+ go-github-com-emersion-go-message
+ go-github-com-emersion-go-maildir
+ go-github-com-emersion-go-imap-sortthread
+ go-github-com-emersion-go-imap
+ go-github-com-emersion-go-msgauth
+ go-github-com-ddevault-go-libvterm
+ go-github-com-danwakefield-fnmatch
+ go-github-com-creack-pty
+ go-github-com-arran4-golang-ical
+ go-github-com-protonmail-go-crypto
+ go-github-com-syndtr-goleveldb-leveldb
+ go-git-sr-ht--sircmpwn-getopt))
+ (native-inputs (list scdoc))
+ (home-page "https://git.sr.ht/~rjarry/aerc")
+ (synopsis "Email client for the terminal")
+ (description "@code{aerc} is a textual email client for terminals. It
+features:
+@enumerate
+@item First-class support for using patches and @code{git send-email}
+@item Vi-like keybindings and command system
+@item A built-in console
+@item Support for multiple accounts
+@end enumerate")
+ ;; The license given is MIT/Expat; however, linking against notmuch
+ ;; effectively makes it GPL-3.0-or-later. See this thread discussing it:
+ ;; <https://lists.sr.ht/~rjarry/aerc-devel/%3Cb5cb213a7d0c699a886971658c2476
+ ;; 1073eb2391%40disroot.org%3E>
+ (license license:gpl3+)))
--
2.37.1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch.
2022-08-03 12:03 [bug#56909] [PATCH 01/41] gnu: Add go-github-com-zenhack-go-notmuch ( via Guix-patches via
` (39 preceding siblings ...)
2022-08-03 12:04 ` [bug#56949] [PATCH 41/41] gnu: Add aerc ( via Guix-patches via
@ 2022-08-03 12:25 ` ( via Guix-patches via
40 siblings, 0 replies; 44+ messages in thread
From: ( via Guix-patches via @ 2022-08-03 12:25 UTC (permalink / raw)
To: paren, 56909
Oops! I accidentally created an issue for each patch, and forgot
to mark these patches with v5. Anyway, this updates the aerc patchset
to version 0.11.0, hopefully the last update I'll need to do before
this is merged.
-- (
^ permalink raw reply [flat|nested] 44+ messages in thread