Subject: [bug#74495] [PATCH v2 16/16] gnu: Add go-github-com-noahgorstein-jqp.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Sun, 24 Nov 2024 13:27:37 +0300

* gnu/packages/golang-xyz.scm (go-github-com-noahgorstein-jqp): New variable.

Change-Id: I736e039a456960e0e5864d7d197b2a6a823bbe58
---
 gnu/packages/golang-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7a2c78192a..b137729ca2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -86,7 +86,8 @@ (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 xdisorg))
+  #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages web))
 
 ;;; Commentary:
 ;;;
@@ -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