From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 59210@debbugs.gnu.org
Cc: kiasoc5 <kiasoc5@disroot.org>
Subject: [bug#59210] [PATCH 2/3] gnu: Add go-github-com-itchyny-gojq.
Date: Sat, 12 Nov 2022 03:15:53 -0500 [thread overview]
Message-ID: <20221112081554.17164-2-kiasoc5@disroot.org> (raw)
In-Reply-To: <d7d56f78-2f4b-18b3-009a-960d57c629bd@disroot.org>
* gnu/packages/web (go-github-com-itchyny-gojq): New variable.
---
gnu/packages/web.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 7b45f8f841..faaaf33f74 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4919,6 +4919,37 @@ (define-public go-github-com-itchyny-timefmt-go
time strings.")
(license license:expat)))
+(define-public go-github-com-itchyny-gojq
+ (package
+ (name "go-github-com-itchyny-gojq")
+ (version "0.12.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/itchyny/gojq")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m4zchhhi2428r1v0qz08drac4s63mag1pwcqzsf6n495yc3g0h0"))))
+ (build-system go-build-system)
+ (inputs
+ (list go-github-com-google-go-cmp-cmp
+ go-github-com-itchyny-timefmt-go
+ go-github-com-mattn-go-isatty
+ go-github-com-mattn-go-runewidth
+ go-gopkg-in-yaml-v3))
+ (arguments
+ (list
+ #:import-path "github.com/itchyny/gojq/cmd/gojq"
+ #:unpack-path "github.com/itchyny/gojq"))
+ (home-page "https://github.com/itchyny/gojq")
+ (synopsis "Pure Go implementation of jq")
+ (description
+ "@command{gojq} is an Go implementation and library of the jq JSON
+processor.")
+ (license license:expat)))
+
(define-public pup
(let ((revision "1")
(commit "681d7bb639334bf485476f5872c5bdab10931f9a"))
--
2.38.1
next prev parent reply other threads:[~2022-11-12 8:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-12 8:12 [bug#59210] [PATCH 0/3] Add gojq and dependencies kiasoc5 via Guix-patches via
2022-11-12 8:15 ` [bug#59210] [PATCH 1/3] gnu: Add go-github-com-itchyny-timefmt-go kiasoc5 via Guix-patches via
2022-11-12 8:15 ` kiasoc5 via Guix-patches via [this message]
2022-11-12 8:15 ` [bug#59210] [PATCH 3/3] gnu: Add gojq kiasoc5 via Guix-patches via
2022-11-28 22:14 ` bug#59210: [PATCH 0/3] Add gojq and dependencies Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221112081554.17164-2-kiasoc5@disroot.org \
--to=guix-patches@gnu.org \
--cc=59210@debbugs.gnu.org \
--cc=kiasoc5@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).