From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 19 11:23:52 2021 Received: (at 47539) by debbugs.gnu.org; 19 Apr 2021 15:23:52 +0000 Received: from localhost ([127.0.0.1]:51700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYVke-00011a-Lj for submit@debbugs.gnu.org; Mon, 19 Apr 2021 11:23:52 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57510 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYVkU-00010q-K9 for 47539@debbugs.gnu.org; Mon, 19 Apr 2021 11:23:42 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1618845817; bh=D0cLYYBv/h8PSErNh367Mnj0/BhVr4lKN9fD52qApA4=; h=From:To:Subject:In-Reply-To:References:Date; b=h/re4NU+WMVXDEn6S0jF6i93ZmSIdrwSRM9r0DTalZIaklCE1op9vmOzBilD6Eq3w YPdn/S7vFQuT9jm6wdsWPvKBr9R01TzAChByEZyQoi/LR+0TYX22UJ3/8phTpzroB8 Z7VNC6WSOOygYE0gE9FLGMDM9pfXEIRVTGnoBlz8= To: 47539@debbugs.gnu.org Subject: [PATCH v3 18/25] gnu: Add go-github-com-itchyny-gojq. In-Reply-To: References: Message-Id: Date: Mon, 19 Apr 2021 17:23:36 +0200 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/golang.scm (go-github-com-itchyny-gojq): New variable. --- gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 24867cebb2..8327e328a0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7517,3 +7517,41 @@ way of specifying [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-Debbugs-Envelope-To: 47539 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/golang.scm (go-github-com-itchyny-gojq): New variable. --- gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 24867cebb2..8327e328a0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7517,3 +7517,41 @@ way of specifying [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/golang.scm (go-github-com-itchyny-gojq): New variable. --- gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 24867cebb2..8327e328a0 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7517,3 +7517,41 @@ way of specifying command line options.") date time strings.") (license license:expat))) +(define-public go-github-com-itchyny-gojq + (package + (name "go-github-com-itchyny-gojq") + (version "0.12.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/itchyny/gojq.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pxm341sgqkscwifpxlkvchz8ix3wivp80p59dv257kaa9diymgz")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/itchyny/gojq")) + (native-inputs + `(("go-gopkg-in-yaml-v3" ,go-gopkg-in-yaml-v3) + ("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-github-com-mattn-go-runewidth" + ,go-github-com-mattn-go-runewidth) + ("go-github-com-mattn-go-isatty" + ,go-github-com-mattn-go-isatty) + ("go-github-com-itchyny-go-flags" + ,go-github-com-itchyny-go-flags) + ("go-github-com-google-go-cmp-cmp" + ,go-github-com-google-go-cmp-cmp))) + (propagated-inputs + `(("go-github-com-itchyny-timefmt-go" + ,go-github-com-itchyny-timefmt-go))) + (home-page "https://github.com/itchyny/gojq") + (synopsis "Pure Go implementation of jq") + (description "This package provides an implementation of @command{jq} +command written in Go language. It is also embedable as a library to other Go +projects.") + (license license:expat))) + -- 2.31.1