* [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp.
@ 2024-11-23 18:27 Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
` (16 more replies)
0 siblings, 17 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:27 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
This patchset adds "go-github-com-noahgorstein-jqp":
https://github.com/noahgorstein/jqp
I placed it into "golang-xyz.scm" module for now, although I'm not really sure
if this place is right for this as it is an end program that can be run from a
terminal.
Artyom V. Poptsov (16):
gnu: Add go-github-com-atotto-clipboard.
gnu: Add go-github-com-aymanbagabas-go-udiff.
gnu: Add go-github-com-makenowjust-heredoc.
gnu: Add go-github-com-kylelemons-godebug-pretty.
gnu: Add go-github-com-sahilm-fuzzy.
gnu: Add go-github-com-charmbracelet-x-ansi.
gnu: Add go-github-com-charmbracelet-x-exp-golden.
gnu: Add go-github-com-charmbracelet-lipgloss.
gnu: Add go-github-com-charmbracelet-bubbles.
gnu: go-github-com-itchyny-gojq: Install the library.
gnu: gojq: Install the binary only.
gnu: go-github-com-charmbracelet-bubbletea: Remove input labels.
gnu: Add go-github-com-charmbracelet-x-term.
gnu: Add go-github-com-muesli-ansi.
gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3.
gnu: Add go-github-com-noahgorstein-jqp.
gnu/packages/golang-xyz.scm | 302 +++++++++++++++++++++++++++++++++++-
gnu/packages/golang.scm | 80 ++++++++--
gnu/packages/web.scm | 5 +-
3 files changed, 371 insertions(+), 16 deletions(-)
base-commit: 36f516bfcdf64185f5d70c21a908283be22a34fd
--
2.46.0
^ permalink raw reply [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-atotto-clipboard): New variable.
Change-Id: I4a871983f564034045f4b2ba77f2453cfce5cb2b
---
gnu/packages/golang-xyz.scm | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 177ab8a20f..b050c285f3 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -85,7 +85,9 @@ (define-module (gnu packages golang-xyz)
#:use-module (gnu packages golang-maths)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages linux)
- #:use-module (gnu packages specifications))
+ #:use-module (gnu packages specifications)
+ #:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages xorg))
;;; Commentary:
;;;
@@ -5735,6 +5737,37 @@ (define-public go-github-com-multiformats-go-varint
varints.")
(license license:expat)))
+(define-public go-github-com-atotto-clipboard
+ (package
+ (name "go-github-com-atotto-clipboard")
+ (version "0.1.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/atotto/clipboard")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ycd8zkgsq9iil9svhlwvhcqwcd7vik73nf8rnyfnn10gpjx97k5"))))
+ (build-system go-build-system)
+ (native-inputs (list xorg-server-for-tests))
+ (propagated-inputs (list xclip))
+ (arguments
+ (list
+ #:import-path "github.com/atotto/clipboard"
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'start-xorg-server
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; The test suite requires a running X server.
+ (system "Xvfb :1 &")
+ (setenv "DISPLAY" ":1"))))))
+ (home-page "https://github.com/atotto/clipboard")
+ (synopsis "Clipboard for Golang")
+ (description
+ "@code{clipboard} provides copying and pasting to the clipboard for Go.")
+ (license license:bsd-3)))
+
(define-public go-github-com-nats-io-nats-go
(package
(name "go-github-com-nats-io-nats-go")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang.scm (go-github-com-aymanbagabas-go-udiff): New variable.
Change-Id: Icac934589b041c9b3b5db0114173d25d0c3f4c34
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9b3a672887..8dd8350847 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7287,6 +7287,34 @@ (define-public go-github-com-mtibben-androiddnsfix
(define-public go-github-com-androiddnsfix
(deprecated-package "go-github-com-androiddnsfix" go-github-com-mtibben-androiddnsfix))
+(define-public go-github-com-aymanbagabas-go-udiff
+ (package
+ (name "go-github-com-aymanbagabas-go-udiff")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aymanbagabas/go-udiff")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09p17r8s5flhq6p69z08345q0y99dpb0yyashlwpgxn45xir7y6g"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/aymanbagabas/go-udiff"))
+ (home-page "https://github.com/aymanbagabas/go-udiff")
+ (synopsis "Diffing library for Golang")
+ (description
+ "@code{udiff} (micro-diff, or µDiff) is a library that implements the
+@url{http://www.xmailserver.org/diff2.pdf, Myers' diffing algorithm}. It aims to
+provide a minimal API to compute and apply diffs with zero dependencies. It also
+supports generating diffs in the
+@url{https://www.gnu.org/software/diffutils/manual/html_node/Unified-Format.html,
+Unified Format}.")
+ (license license:expat)))
+
(define-public go-gopkg-in-ini
(package
(name "go-gopkg-in-ini")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang.scm (go-github-com-makenowjust-heredoc): New variable.
Change-Id: I686dfd6a798da764b004a53a562ca788e70f8cd5
---
gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index b050c285f3..50f358ad58 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4832,6 +4832,29 @@ (define-public go-github-com-logrusorgru-aurora-v4
(native-inputs
(list go-github-com-stretchr-testify))))
+(define-public go-github-com-makenowjust-heredoc
+ (package
+ (name "go-github-com-makenowjust-heredoc")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/makenowjust/heredoc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18f21zm8n2wlnkz1ylw8rcxmqxyv2rlz8749yfqggm2m0m2884pj"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/MakeNowJust/heredoc"))
+ (home-page "https://github.com/MakeNowJust/heredoc")
+ (synopsis "Here-documents with indent")
+ (description
+ "Package heredoc provides creation of here-documents from raw strings.")
+ (license license:expat)))
+
(define-public go-github-com-marcinbor85-gohex
;; No release, see <https://github.com/marcinbor85/gohex/issues/5>.
(let ((commit "baab2527a9a2a4abb3dc06baabedfa5e0268b8d8")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (2 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug-pretty): New variable.
Change-Id: Icd7d5fd70cf56d1ca74e9a2cfb929a3344128ba7
---
gnu/packages/golang.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8dd8350847..f4a14cc427 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4722,6 +4722,14 @@ (define-public go-github-com-kylelemons-godebug
representation suitable for computing diffs.")
(license license:asl2.0)))
+(define-public go-github-com-kylelemons-godebug-pretty
+ (package
+ (inherit go-github-com-kylelemons-godebug)
+ (name "go-github-com-kylelemons-godebug-pretty")
+ (arguments
+ '(#:import-path "github.com/kylelemons/godebug/pretty"
+ #:unpack-path "github.com/kylelemons/godebug"))))
+
(define-public go-github-com-kr-text
(package
(name "go-github-com-kr-text")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (3 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-sahilm-fuzzy): New variable.
Change-Id: Iebf4f8c3848e1e08b2860ac69a5a8d816ac260df
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 50f358ad58..407a47efa6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6635,6 +6635,32 @@ (define-public go-github-com-ryanuber-columnize
"This package implements column-formatted output for Golang.")
(license license:expat)))
+(define-public go-github-com-sahilm-fuzzy
+ (package
+ (name "go-github-com-sahilm-fuzzy")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sahilm/fuzzy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15j95gm7hcmg09x1b39vc4il8bryv4v0yljvvyq5vyc6iq66qrbz"))))
+ (build-system go-build-system)
+ (native-inputs (list go-github-com-kylelemons-godebug
+ go-github-com-kylelemons-godebug-pretty))
+ (arguments
+ (list
+ #:import-path "github.com/sahilm/fuzzy"))
+ (home-page "https://github.com/sahilm/fuzzy")
+ (synopsis "Fuzzy string matching for Golang")
+ (description
+ "@code{fuzzy} provides fuzzy string matching optimized for filenames and code
+symbols in the style of Sublime Text, VSCode, @code{IntelliJ} IDEA et al.")
+ (license license:expat)))
+
(define-public go-github-com-schollz-progressbar-v3
(package
(name "go-github-com-schollz-progressbar-v3")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (4 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-ansi): New variable.
Change-Id: I1451ae9953bc87475413b83bb636a2df14ddc70c
---
gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 407a47efa6..40a8236fb9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1498,6 +1498,35 @@ (define-public go-github-com-cheggaaa-pb-v3
(modify-inputs (package-propagated-inputs go-github-com-cheggaaa-pb)
(append go-github-com-vividcortex-ewma)))))
+(define-public go-github-com-charmbracelet-x-ansi
+ (package
+ (name "go-github-com-charmbracelet-x-ansi")
+ (version "0.5.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/x")
+ (commit (go-version->git-ref version
+ #:subdir "ansi"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "016s67690dr3w3an6m24q6f4vrmwpk0qd4akvvh1dzpfyf4khxd4"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/charmbracelet/x/ansi"
+ #:unpack-path "github.com/charmbracelet/x"))
+ (propagated-inputs (list go-github-com-rivo-uniseg
+ go-github-com-lucasb-eyer-go-colorful))
+ (home-page "https://github.com/charmbracelet/x")
+ (synopsis "ANSI escape sequence parser and definitions")
+ (description
+ "@code{ansi} defines common ANSI escape sequences based on the
+@url{https://ecma-international.org/publications-and-standards/standards/ecma-48/,
+ECMA-48} specs.")
+ (license license:expat)))
+
(define-public go-github-com-chzyer-logex
(package
(name "go-github-com-chzyer-logex")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (5 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-exp-golden): New variable.
Change-Id: I7fa815433d9a83e4562bdc769312dd05e0a298da
---
gnu/packages/golang-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 40a8236fb9..2681fec06b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1527,6 +1527,42 @@ (define-public go-github-com-charmbracelet-x-ansi
ECMA-48} specs.")
(license license:expat)))
+(define-public go-github-com-charmbracelet-x-exp-golden
+ (package
+ (name "go-github-com-charmbracelet-x-exp-golden")
+ (version "0.0.0-20241121171228-5bc00623ea2f")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/x")
+ (commit (go-version->git-ref version
+ #:subdir "exp/golden"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "016s67690dr3w3an6m24q6f4vrmwpk0qd4akvvh1dzpfyf4khxd4"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/charmbracelet/x/exp/golden"
+ #:unpack-path "github.com/charmbracelet/x/"
+ #:modules '((guix build go-build-system)
+ (guix build utils))
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda _
+ (invoke "chmod"
+ "-R"
+ "+w"
+ "src/github.com/charmbracelet/x/exp/golden"))))))
+ (propagated-inputs (list go-github-com-aymanbagabas-go-udiff))
+ (home-page "https://github.com/charmbracelet/x")
+ (synopsis "Verify @code{.golden} file equality")
+ (description "Golden files (@code{.golden}) contain the raw expected output of
+tests, which can contain control codes and escape sequences. @code{golden} package
+provides an API for comparing Golden files.")
+ (license license:expat)))
+
(define-public go-github-com-chzyer-logex
(package
(name "go-github-com-chzyer-logex")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (6 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-lipgloss): New variable.
Change-Id: I73050c96830025ed63be7567873f8faf7573453d
---
gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 2681fec06b..80771f2263 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1498,6 +1498,34 @@ (define-public go-github-com-cheggaaa-pb-v3
(modify-inputs (package-propagated-inputs go-github-com-cheggaaa-pb)
(append go-github-com-vividcortex-ewma)))))
+(define-public go-github-com-charmbracelet-lipgloss
+ (package
+ (name "go-github-com-charmbracelet-lipgloss")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/lipgloss")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0d1aqzsjy0mcliydbfbg223xxpf9646frbj35ac4fisdy3w3n142"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/charmbracelet/lipgloss"))
+ (propagated-inputs (list go-github-com-rivo-uniseg
+ go-github-com-muesli-termenv
+ go-github-com-charmbracelet-x-exp-golden
+ go-github-com-charmbracelet-x-ansi
+ go-github-com-aymanbagabas-go-udiff))
+ (home-page "https://github.com/charmbracelet/lipgloss")
+ (synopsis "Style definitions for nice terminal layouts")
+ (description
+ "Style definitions for nice terminal layouts. Built with TUIs in mind.")
+ (license license:expat)))
+
(define-public go-github-com-charmbracelet-x-ansi
(package
(name "go-github-com-charmbracelet-x-ansi")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (7 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-bubbles): New variable.
Change-Id: I090db91509590ca9a8cab1a209d00bcc12b524e7
---
gnu/packages/golang-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 80771f2263..7fda1bf613 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1498,6 +1498,43 @@ (define-public go-github-com-cheggaaa-pb-v3
(modify-inputs (package-propagated-inputs go-github-com-cheggaaa-pb)
(append go-github-com-vividcortex-ewma)))))
+(define-public go-github-com-charmbracelet-bubbles
+ (package
+ (name "go-github-com-charmbracelet-bubbles")
+ (version "0.20.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/bubbles")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qdcln01bq9lk6r33b8p5d5x850wgd8ddq57n4bg3xn76z2fd657"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/charmbracelet/bubbles"))
+ (propagated-inputs (list go-github-com-sahilm-fuzzy
+ go-github-com-rivo-uniseg
+ go-github-com-muesli-termenv
+ go-github-com-mattn-go-runewidth
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-dustin-go-humanize
+ go-github-com-charmbracelet-x-exp-golden
+ go-github-com-charmbracelet-x-ansi
+ go-github-com-charmbracelet-lipgloss
+ go-github-com-charmbracelet-harmonica
+ go-github-com-charmbracelet-bubbletea
+ go-github-com-atotto-clipboard
+ go-github-com-makenowjust-heredoc))
+ (home-page "https://github.com/charmbracelet/bubbles")
+ (synopsis "TUI components for Bubble Tea library")
+ (description
+ "@code{bubbles} is a library that provide components for
+@@url{https://github.com/charmbracelet/bubbletea, Bubble Tea} applications.")
+ (license license:expat)))
+
(define-public go-github-com-charmbracelet-lipgloss
(package
(name "go-github-com-charmbracelet-lipgloss")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (8 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/web.scm (go-github-com-itchyny-gojq): Install the library
files instead of "gojq" binary.
Change-Id: I72235e0cfeee81b0e7490ebd9d92d0d36ceb1844
---
gnu/packages/web.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d53815eadb..8245438c3b 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5605,7 +5605,7 @@ (define-public go-github-com-itchyny-gojq
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/itchyny/gojq/cmd/gojq"
+ #:import-path "github.com/itchyny/gojq/"
#:unpack-path "github.com/itchyny/gojq"))
(inputs
(list go-github-com-google-go-cmp
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (9 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/web.scm (gojq): Install the binary only.
Change-Id: I6a4d0cbdba385460d7ab43d62fe1897922a7c7e9
---
gnu/packages/web.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 8245438c3b..da23192800 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5627,7 +5627,8 @@ (define-public gojq
(arguments
(ensure-keyword-arguments
(package-arguments go-github-com-itchyny-gojq)
- (list #:install-source? #f)))))
+ (list #:import-path "github.com/itchyny/gojq/cmd/gojq"
+ #:install-source? #f)))))
(define-public pup
(let ((revision "1")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (10 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea):
[propagated-inputs]: Remove input labels.
Change-Id: If2dc587649c4e44aabf025de915655887d04530c
---
gnu/packages/golang.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f4a14cc427..84b797e1ff 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7052,16 +7052,16 @@ (define-public go-github-com-charmbracelet-bubbletea
(for-each delete-file-recursively
'("examples" "tutorials"))))))))
(propagated-inputs
- `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
- ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
- ("github.com/mattn/go-runewidth" ,go-github-com-mattn-go-runewidth)
- ("go-github-com-muesli-reflow" ,go-github-com-muesli-reflow)
- ("go-github-com-lucasb-eyer-go-colorful" ,go-github-com-lucasb-eyer-go-colorful)
- ("github.com/containerd/console" ,go-github-com-containerd-console)
- ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
- ("go-golang-org-x-sys" ,go-golang-org-x-sys)
- ("go-golang-org-x-term" ,go-golang-org-x-term)
- ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)))
+ (list go-github-com-mattn-go-isatty
+ go-github-com-muesli-termenv
+ go-github-com-mattn-go-runewidth
+ go-github-com-muesli-reflow
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-containerd-console
+ go-golang-org-x-crypto
+ go-golang-org-x-sys
+ go-golang-org-x-term
+ go-github-com-mattn-go-isatty))
(home-page "https://github.com/charmbracelet/bubbletea")
(synopsis "Powerful little TUI framework")
(description
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (11 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-charmbracelet-x-term): New variable.
Change-Id: I854febc3a3010f39051ee6fbd4a159993043d41e
---
gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7fda1bf613..380bcd01f9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1592,6 +1592,33 @@ (define-public go-github-com-charmbracelet-x-ansi
ECMA-48} specs.")
(license license:expat)))
+(define-public go-github-com-charmbracelet-x-term
+ (package
+ (name "go-github-com-charmbracelet-x-term")
+ (version "0.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/charmbracelet/x")
+ (commit (go-version->git-ref version
+ #:subdir "term"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1shw55110fnn4xz80wmgr18czmiil6z1j064m90iw8c7j9llfzn5"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/charmbracelet/x/term"
+ #:unpack-path "github.com/charmbracelet/x"))
+ (propagated-inputs (list go-github-com-rivo-uniseg
+ go-golang-org-x-sys))
+ (home-page "https://github.com/charmbracelet/x")
+ (synopsis "Terminal utilities and helpers")
+ (description
+ "@code{term} defines terminal utilities.")
+ (license license:expat)))
+
(define-public go-github-com-charmbracelet-x-exp-golden
(package
(name "go-github-com-charmbracelet-x-exp-golden")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (12 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-muesli-ansi): New variable.
Change-Id: I3dbbd8af04373997fcb3c60872dff14ab1b2b76a
---
gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 380bcd01f9..dce2c9873e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5655,6 +5655,32 @@ (define-public go-github-com-msteinert-pam-v2
((#:import-path _ "github.com/msteinert/pam")
"github.com/msteinert/pam/v2")))))
+(define-public go-github-com-muesli-ansi
+ (package
+ (name "go-github-com-muesli-ansi")
+ (version "0.0.0-20230316100256-276c6243b2f6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/muesli/ansi")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jr8kgn3vb72jmf4a8n52g876mfpbvk3310p8gsg7jkn338af4m9"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/muesli/ansi"))
+ (propagated-inputs
+ (list go-github-com-mattn-go-runewidth
+ go-github-com-rivo-uniseg))
+ (home-page "https://github.com/muesli/ansi")
+ (synopsis "Raw ANSI sequence helpers")
+ (description
+ "ANSI sequence helpers for working with raw ANSI sequences.")
+ (license license:expat)))
+
(define-public go-github-com-muesli-cancelreader
(package
(name "go-github-com-muesli-cancelreader")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (13 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 22:32 ` [bug#74495] [PATCH 00/16] " Sharlatan Hellseher
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): Update to 1.2.3.
[propagated-inputs]: Add go-github-com-muesli-ansi, go-github-com-muesli-cancelreader,
go-github-com-charmbracelet-lipgloss,
go-github-com-charmbracelet-x-term,
go-github-com-charmbracelet-x-ansi, and go-golang-org-x-sync.
[arguments] <phases>: Fix tests that are failing due to newer version of
"go-github-com-charmbracelet-x-ansi" package.
Change-Id: Ifdb3074f342b34c07c0e7ab47341b159d1eea0c2
---
gnu/packages/golang.scm | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 84b797e1ff..322bd4224a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7030,7 +7030,7 @@ (define-public go-github-com-rivo-uniseg
(define-public go-github-com-charmbracelet-bubbletea
(package
(name "go-github-com-charmbracelet-bubbletea")
- (version "0.13.2")
+ (version "1.2.3")
(source
(origin
(method git-fetch)
@@ -7040,7 +7040,7 @@ (define-public go-github-com-charmbracelet-bubbletea
(file-name (git-file-name name version))
(sha256
(base32
- "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+ "0ggkl29qixgin5av1mbnwfbb31kmwpczh8pgpjsx9z277fs55mph"))))
(build-system go-build-system)
(arguments
(list
@@ -7050,17 +7050,35 @@ (define-public go-github-com-charmbracelet-bubbletea
(lambda* (#:key import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(for-each delete-file-recursively
- '("examples" "tutorials"))))))))
+ '("examples" "tutorials")))))
+ (add-before 'check 'fix-tests
+ (lambda _
+ ;; XXX: The package requires
+ ;; "go-github-com-charmbracelet-x-ansi" version 0.4.5; with
+ ;; the newer version of "ansi", some "bubbletea" screen tests
+ ;; fail as "ansi" 0.5.2 handles escape sequences a little bit
+ ;; differently.
+ (substitute* "src/github.com/charmbracelet/bubbletea/screen_test.go"
+ (("x1b\\[0K")
+ "x1b[K")
+ (("x1b\\[2;0H")
+ "x1b[2;H")))))))
(propagated-inputs
(list go-github-com-mattn-go-isatty
go-github-com-muesli-termenv
go-github-com-mattn-go-runewidth
+ go-github-com-muesli-ansi
+ go-github-com-muesli-cancelreader
go-github-com-muesli-reflow
go-github-com-lucasb-eyer-go-colorful
+ go-github-com-charmbracelet-lipgloss
+ go-github-com-charmbracelet-x-term
+ go-github-com-charmbracelet-x-ansi
go-github-com-containerd-console
go-golang-org-x-crypto
go-golang-org-x-sys
go-golang-org-x-term
+ go-golang-org-x-sync
go-github-com-mattn-go-isatty))
(home-page "https://github.com/charmbracelet/bubbletea")
(synopsis "Powerful little TUI framework")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (14 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
@ 2024-11-23 18:28 ` Artyom V. Poptsov
2024-11-23 22:32 ` [bug#74495] [PATCH 00/16] " Sharlatan Hellseher
16 siblings, 0 replies; 18+ messages in thread
From: Artyom V. Poptsov @ 2024-11-23 18:28 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
* gnu/packages/golang-xyz.scm (go-github-com-noahgorstein-jqp): New variable.
Change-Id: I736e039a456960e0e5864d7d197b2a6a823bbe58
---
gnu/packages/golang-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index dce2c9873e..8ea109457f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -86,6 +86,7 @@ (define-module (gnu packages golang-xyz)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages linux)
#:use-module (gnu packages specifications)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg))
@@ -6078,6 +6079,40 @@ (define-public go-github-com-niklasfasching-go-org
pretty printed rendering in Golang.")
(license license:expat)))
+(define-public go-github-com-noahgorstein-jqp
+ (package
+ (name "go-github-com-noahgorstein-jqp")
+ (version "0.7.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/noahgorstein/jqp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11xqh4113gkzp32hd4dg4cvjp40q3hxfh3889wd4bw2snl0alvcb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.22
+ #:embed-files #~(list ".*.xml")
+ #:import-path "github.com/noahgorstein/jqp"))
+ (propagated-inputs (list go-github-com-spf13-viper
+ go-github-com-spf13-cobra
+ go-github-com-muesli-termenv
+ go-github-com-itchyny-gojq
+ go-github-com-itchyny-timefmt-go
+ go-github-com-charmbracelet-lipgloss
+ go-github-com-charmbracelet-bubbletea
+ go-github-com-charmbracelet-bubbles
+ go-github-com-atotto-clipboard
+ go-github-com-alecthomas-chroma-v2))
+ (home-page "https://github.com/noahgorstein/jqp")
+ (synopsis "jqp")
+ (description "a TUI playground for exploring jq.")
+ (license license:expat)))
+
(define-public go-github-com-nsqio-go-diskqueue
(package
(name "go-github-com-nsqio-go-diskqueue")
--
2.46.0
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp.
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
` (15 preceding siblings ...)
2024-11-23 18:28 ` [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
@ 2024-11-23 22:32 ` Sharlatan Hellseher
16 siblings, 0 replies; 18+ messages in thread
From: Sharlatan Hellseher @ 2024-11-23 22:32 UTC (permalink / raw)
To: 74495; +Cc: Artyom V. Poptsov
[-- Attachment #1: Type: text/plain, Size: 4467 bytes --]
Hi,
Thanks for the patches!
After a intial review of package placement there are some comments:
Better sutes for (gnu packages xdisorg), there are golang packages, and
it prevent importing xdisorg and xorg into golang-xyz.
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-atotto-clipboard
--8<---------------cut here---------------end--------------->8---
What's going on here, maybe repack go-github-com-kylelemons-godebug to
include all modules, wdyt?
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-kylelemons-godebug-pretty
--8<---------------cut here---------------end--------------->8---
Please, no new packages to golang.scm
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-aymanbagabas-go-udiff
--8<---------------cut here---------------end--------------->8---
Please follow the style ;-)
--8<---------------cut here---------------start------------->8---
+ (native-inputs (list go-github-com-kylelemons-godebug
+ go-github-com-kylelemons-godebug-pretty))
+ (arguments
+ (list
+ #:import-path "github.com/sahilm/fuzzy"))
--8<---------------cut here---------------end--------------->8---
Nixe to see that new go-import works with #:subdir!
--8<---------------cut here---------------start------------->8---
+(define-public go-github-com-charmbracelet-x-exp-golden
--8<---------------cut here---------------end--------------->8---
There is a guile funcion for that:
--8<---------------cut here---------------start------------->8---
+ #:modules '((guix build go-build-system)
+ (guix build utils))
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda _
+ (invoke "chmod"
+ "-R"
+ "+w"
+ "src/github.com/charmbracelet/x/exp/golden"))))))
--8<---------------cut here---------------end--------------->8---
For any like this, please sort alphabetically:
--8<---------------cut here---------------start------------->8---
+ (propagated-inputs (list go-github-com-sahilm-fuzzy
+ go-github-com-rivo-uniseg
+ go-github-com-muesli-termenv
+ go-github-com-mattn-go-runewidth
+ go-github-com-lucasb-eyer-go-colorful
+ go-github-com-dustin-go-humanize
+ go-github-com-charmbracelet-x-exp-golden
+ go-github-com-charmbracelet-x-ansi
+ go-github-com-charmbracelet-lipgloss
+ go-github-com-charmbracelet-harmonica
+ go-github-com-charmbracelet-bubbletea
+ go-github-com-atotto-clipboard
+ go-github-com-makenowjust-heredoc))
--8<---------------cut here---------------end--------------->8---
It might be a good case for dedicated issues to split library out of
binary, I can take it.
--8<---------------cut here---------------start------------->8---
[PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library.
--8<---------------cut here---------------end--------------->8---
Description might need to be a little longer than synopsis, check the
code docstring sometimes modules documented well outside of README:
--8<---------------cut here---------------start------------->8---
+ (synopsis "Terminal utilities and helpers")
+ (description
+ "@code{term} defines terminal utilities.")
+ (license license:expat)))
--8<---------------cut here---------------end--------------->8---
Feel free to move to coresponded golang-* module:
--8<---------------cut here---------------start------------->8---
[PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels.
[PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3.
--8<---------------cut here---------------end--------------->8---
Let's keep it in web to reduce module cyles:
--8<---------------cut here---------------start------------->8---
[PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp.
--8<---------------cut here---------------end--------------->8---
In v2 I'll check license and package internals
--
Thanks,
Oleg
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2024-11-23 22:34 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-23 18:27 [bug#74495] [PATCH 00/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 01/16] gnu: Add go-github-com-atotto-clipboard Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 02/16] gnu: Add go-github-com-aymanbagabas-go-udiff Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 03/16] gnu: Add go-github-com-makenowjust-heredoc Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 04/16] gnu: Add go-github-com-kylelemons-godebug-pretty Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 05/16] gnu: Add go-github-com-sahilm-fuzzy Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 06/16] gnu: Add go-github-com-charmbracelet-x-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 07/16] gnu: Add go-github-com-charmbracelet-x-exp-golden Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 08/16] gnu: Add go-github-com-charmbracelet-lipgloss Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 09/16] gnu: Add go-github-com-charmbracelet-bubbles Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 10/16] gnu: go-github-com-itchyny-gojq: Install the library Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 11/16] gnu: gojq: Install the binary only Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 12/16] gnu: go-github-com-charmbracelet-bubbletea: Remove input labels Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 13/16] gnu: Add go-github-com-charmbracelet-x-term Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 14/16] gnu: Add go-github-com-muesli-ansi Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 15/16] gnu: go-github-com-charmbracelet-bubbletea: Update to 1.2.3 Artyom V. Poptsov
2024-11-23 18:28 ` [bug#74495] [PATCH 16/16] gnu: Add go-github-com-noahgorstein-jqp Artyom V. Poptsov
2024-11-23 22:32 ` [bug#74495] [PATCH 00/16] " Sharlatan Hellseher
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).