diff options
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r-- | gnu/packages/web.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index cfebf7785a..b10c03a7f4 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5631,6 +5631,45 @@ processor.") #:unpack-path "github.com/itchyny/gojq" #:install-source? #f))))) +(define-public go-jqp + (package + (name "go-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") + #:install-source? #f + #:import-path "github.com/noahgorstein/jqp")) + (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 "TUI playground to experiment with jq") + (description + "This package provides an interactive TUI to explor the @code{jq} command +line utility. The command accepts an optional query argument which will be +executed against the input JSON or newline-delimited JSON (NDJSON).") + (license license:expat))) + (define-public pup (let ((revision "1") (commit "681d7bb639334bf485476f5872c5bdab10931f9a")) |