From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SGfGAqugfWC6kQAAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 17:24:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UIIdOKqgfWALFAAAbx9fmQ (envelope-from ) for ; Mon, 19 Apr 2021 15:24:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2EF0F960D for ; Mon, 19 Apr 2021 17:24:26 +0200 (CEST) Received: from localhost ([::1]:51548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYVlA-0006rV-FP for larch@yhetil.org; Mon, 19 Apr 2021 11:24:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYVkr-0006O7-Dk for guix-patches@gnu.org; Mon, 19 Apr 2021 11:24:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYVkr-000516-4V for guix-patches@gnu.org; Mon, 19 Apr 2021 11:24:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYVkq-000137-W6 for guix-patches@gnu.org; Mon, 19 Apr 2021 11:24:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] [PATCH v3 18/25] gnu: Add go-github-com-itchyny-gojq. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Apr 2021 15:24:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47539@debbugs.gnu.org Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.16188458323948 (code B ref 47539); Mon, 19 Apr 2021 15:24:04 +0000 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= In-Reply-To: References: Message-Id: Date: Mon, 19 Apr 2021 17:23:36 +0200 MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618845866; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=PJneWOR72MNk1/jvxw8kT+7gO02x52xwr1BzoLYhjUY=; b=PfBWWZNvw+bu1AS8Fm6gyPhZYWtnKsxPyEt612MacL6IIcbTWr+2tJe8Zm8EzWS9r1vL95 wqP7+sJM1/YjDAcw4j6YHfHN48qVAlpLjPeHsnkXxdUKp7LMPeSzTv/03GDN1YiOgB/Bjv 2/c3QmQtzaoGKWuDkaKg179k2B7mxt4kOzAt8qGmZLY19o0W1oxHcbJEMD9mjQhy2VFcrf slz1gAtGxfi2cu8BWJPm6ecf/3OTz9ScyQJ9x9L9+Nd4ltYGrYz7/0VVmslPyTmFDAZbMl j9LGVZRf6/DMMllfzxRqXegLNcSl9aZKyUrulkJdK0ua5R/q2WItjCqVU86SBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618845866; a=rsa-sha256; cv=none; b=M1vUOkuKBfEi3N+4+VgQOIEQfGGPJc+hGml9YxDm1X+yzMb0u0gzpfLf7/sjZCB3PSjmsK P5nl8eXU0oyQWVogjTbyHjQydxgEvVrmR2naIIjX7u477fTz3TYJBYfz97mwh+msWpU0l1 hCNWSWnLu7/U4ggMUUi/JntAIJsJcB5GYPvi3LJpc1cMh6LWjW5hnrEO2uEsicQDgFVVFp fpkbc1nAl081//Pb8CsrkrUstuGWiqaqBSj/h730yfsE10CkgBUARfXzsd7pziYPwMSaFV CDjniVJpuDsc+evn6FV+LU/A+Fm7F4NT5iHJ3KzqienG5ybCqOM/8i/crw9D4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="h/re4NU+"; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="h/re4NU+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2EF0F960D X-Spam-Score: -0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: NCT0y9xcpUh5 * 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