From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MFOBI80PTGcFgAAA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 07:27:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MFOBI80PTGcFgAAA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 08:27:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QxjtVjYj; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=asZeqX00; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733038029; a=rsa-sha256; cv=none; b=ZKUMmQm81KJLmYgpNaoj3JagEYR4Gbyh8IlZlBMWJFLJik4gHKmihggs28eQTanja1oG3I VJ2wBQ2GlO8o122AMR7on6uDCxLt6bWmovpMj9FS03fITu+6TaYoeEqf4wrGXyoxbLB3vv l0X5qLcvAkHvmcbOgyHsN7ss7CN7RWvYKqBuOTOl8vC072NR3jBXANrwL7w8RKRoxFZbSF 6jg4LKRt7j9LPthz4/6jcrnMsqa1xqVB/XKb52nh8wqM5MWXXwL5eIt/HCymQYqASZYHfp rAkB2vm8TaJAMGuB9izvkB4Xx7Y5+s/wfU7p3yYS+NYQ+Y7/siEeualo5kYudA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QxjtVjYj; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=asZeqX00; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733038029; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=v2TcCoN7ELAzbdxQoMMuQ9jl89PEUBAtZBQ2pmuCZgQ=; b=lydxBYDbDFkf1Ibca2Y1YBCQvastLw5pmfkebgRIyZmTeaAcN477sxMOsZtiU9GL2JNEvK 6SGM4UXlbhL0FdWUrP/vJJ2C/SKniJT3aswPtpyctWHKj7TI2+pigciFge3WK2etAzJ9Ix MW0V1B6AwierHv2gkzwYLyyvSNz3z1+Fi21CurqnBgDquSKwQev/lwpzLaKlLBAlQcqo6c t/njMyUGhL1Bw6dNc/0MnVfSCpVUaxWU36HCudAjv8+tPuTgvpLRDIYFAe8uIRCgJOyXzN SjwvCzdf5Yo2fhACZDFsG1kmrtNnUbGLlBXFXTgrPDRYpyQDLBxC7gF+FApp4w== 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 38BB18C8E9 for ; Sun, 01 Dec 2024 08:27:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHeLN-0001bD-Cl; Sun, 01 Dec 2024 02:26:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHeLK-0001XM-2a for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:10 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHeLJ-0007Ru-K5 for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=v2TcCoN7ELAzbdxQoMMuQ9jl89PEUBAtZBQ2pmuCZgQ=; b=QxjtVjYj7NhEh4Ebw5Jxo4spOToSeSxxAuaffAgLsAUZqZBmufPA9kZdswrppni8vEd5dDZW946onEAPwTfairDEtWYiw2btbcXYzcXLVq4brA6oCOUEFhUvDasfXhzKczSCi28ijDhHwAt42KUef5SC8Tk/976AQ7TsSyQrmwafejABgU7/QUVT67UR+5Lajr0pwHEGSdTclsk2gweOUMcURe26foqsrZbJ/TdmrSimw4BXobQofUwCay6EELoIYhOCyyt/lHcgnWiD2ZtRSNSihPtVFHiBYnF9gvQYK9yZkhV7NSn2rjjQ47ZAPAOrUeacOCypklKBf3InFECHbg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHeLJ-0007ow-Fs for guix-patches@gnu.org; Sun, 01 Dec 2024 02:26:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74495] [PATCH v3 15/15] gnu: Add go-jqp. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 07:26:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74495 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74495@debbugs.gnu.org Cc: "Artyom V. Poptsov" , Sharlatan Hellseher Received: via spool by 74495-submit@debbugs.gnu.org id=B74495.173303794029913 (code B ref 74495); Sun, 01 Dec 2024 07:26:09 +0000 Received: (at 74495) by debbugs.gnu.org; 1 Dec 2024 07:25:40 +0000 Received: from localhost ([127.0.0.1]:50071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHeKp-0007mM-LC for submit@debbugs.gnu.org; Sun, 01 Dec 2024 02:25:39 -0500 Received: from mail-lf1-f43.google.com ([209.85.167.43]:41103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHeKn-0007m5-LB for 74495@debbugs.gnu.org; Sun, 01 Dec 2024 02:25:38 -0500 Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-53ddb4c05c0so604345e87.0 for <74495@debbugs.gnu.org>; Sat, 30 Nov 2024 23:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733037877; x=1733642677; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v2TcCoN7ELAzbdxQoMMuQ9jl89PEUBAtZBQ2pmuCZgQ=; b=asZeqX00xYshlq0OWtP9GsWvTVZ/ADvtX14KGfdsV+taSbpdh8ZeIF8XOqraNwwJof uxKLdrgl5pmGl4HUFEkZutjFSAbk8MNJx7AS44IbnklwS4pDRqRfo0Ku2OGjGi4WuS4H 89AmA3hFgFY0xt1aQvLOYjUT+/5sLK7sAIb9shZb4G4PPyEgCMXkcpxIMXJF4oPUq6VT 8OftceBCmK6fwilKzoeR0ESAjoX3DW41fvtgfXQLFxPZ38oVtg2o/DamSZvX3rvL2W7V fwOQa+GJKsZ6D/SCTXyIQKiCmvnDx2EpYGs7AC7NKm3fq3CaWpUgyGOtnaSg0UQh5Qd0 9jSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733037877; x=1733642677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v2TcCoN7ELAzbdxQoMMuQ9jl89PEUBAtZBQ2pmuCZgQ=; b=j1JRGXkUnR5Xf7Q2yJUF7BuhSx7ocjeBn08XKhEstwVe2ZLf/kh2+TmjNdU0ajt6cO WXxN/dSuyNzam3Nfn4RHxzsVWQt2L1V2zjEV9UjrWY3nmyq4qlR1PSpsxleIQ0wpTQyN 5yX1Y7WKyfG6qk4/siy54d5p3RbAD+qup4YTxMxk2LD3nJ4SvHzEqNc/p8T1lRGHryMs V3Jg9b3MD6+feGXufQwy/YHZ+IP88RidzPsRnj7Js2fMCgpz1VfQyC9E6ozriLIA3iVH GvSOHMDGPU4WHhsCBmYV1EP5yy+ZPYLITlYSf+ODfl6WcP/iDUorZ1lDfBC8sWYDDklC lWfw== X-Gm-Message-State: AOJu0YyTKcW5aVeptPO1TEuOWN1xAc898Eu3jmFM95vMQBtyF/H1+RLt JQIddVcxAk4v6R7UR/4Im5svqm4XPmzG0lH7xSUFqLXm8X6Mpkl73hHAMTLP X-Gm-Gg: ASbGncv4jsMZwX5mcJjK5NaUuu9YanklbRuwynkM9JuXGDLGyu6tHIaUvxphYymfT5q 3nLVsi4BalqAms7Hq3vkI3SbVif794c+LSmTbqzDOMWR+/DNoMH3PZP7X4WWAHmCMieBRRBCOwk n/ZR8iScU2ajQYxo6UGcFZP9DYykDK19Navo3TZqBsVQ3iOlfAVakLLdxVzBjhVEbAwM/VNPrOv epCyzx6cYxasCA3uGE/3yzNpZhOXTZL9nrYsG+Yci+XVO1AUpxD X-Google-Smtp-Source: AGHT+IGMVaWLc5EhbWyxYgfeklfFp02FCpo9a7Oso5X92XoXJd7ZDVtcd1PdZISTsRlID1jSKnx1TA== X-Received: by 2002:a2e:9a16:0:b0:2f7:7f76:992f with SMTP id 38308e7fff4ca-2ffd6007cb9mr25724501fa.6.1733037876516; Sat, 30 Nov 2024 23:24:36 -0800 (PST) Received: from elephant.. ([95.79.11.131]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ffdfc74f88sm8579651fa.72.2024.11.30.23.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2024 23:24:35 -0800 (PST) From: "Artyom V. Poptsov" Date: Sun, 1 Dec 2024 10:23:51 +0300 Message-ID: <83a1aa27cb223f06344bb0081845f7b58f72767f.1733037809.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <70fd8cbea4aa384418b66083166f78acc2774182.1733037809.git.poptsov.artyom@gmail.com> References: <70fd8cbea4aa384418b66083166f78acc2774182.1733037809.git.poptsov.artyom@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.68 X-Spam-Score: -0.68 X-Migadu-Queue-Id: 38BB18C8E9 X-Migadu-Scanner: mx10.migadu.com X-TUID: yEXNfKDRBwV7 * gnu/packages/golang-xyz.scm (go-jqp): New variable. Change-Id: I736e039a456960e0e5864d7d197b2a6a823bbe58 Reviewed-by: Sharlatan Hellseher --- gnu/packages/web.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 @@ (define-public gojq #: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")) -- 2.46.0