X-Loop: help-debbugs@HIDDEN Subject: [bug#74373] [PATCH 4/4] gnu: Add go-buf. Resent-From: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik <j@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Fri, 15 Nov 2024 21:12:04 +0000 Resent-Message-ID: <handler.74373.B.1731705110942 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 74373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74373 <at> debbugs.gnu.org Cc: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik <j@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.1731705110942 (code B ref -1); Fri, 15 Nov 2024 21:12:04 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2024 21:11:50 +0000 Received: from localhost ([127.0.0.1]:51079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tC3ba-0000F7-2I for submit <at> debbugs.gnu.org; Fri, 15 Nov 2024 16:11:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:48712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <j@HIDDEN>) id 1tC3bR-0000EH-SQ for submit <at> debbugs.gnu.org; Fri, 15 Nov 2024 16:11:44 -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 <j@HIDDEN>) id 1tC3bN-0002Bp-St for guix-patches@HIDDEN; Fri, 15 Nov 2024 16:11:37 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <j@HIDDEN>) id 1tC3bD-00066A-V6 for guix-patches@HIDDEN; Fri, 15 Nov 2024 16:11:30 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 5219B20B365A for <guix-patches@HIDDEN>; Fri, 15 Nov 2024 22:11:17 +0100 (CET) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20240523; t=1731705076; x=1733519477; bh=sOLzUXbmn++WwRYEDzd7Oaokx8dkLM6oP0xdf0EMoaQ=; b=I6oYhkSqUfz4 yOCH6Iw//zQZdxY7JDLNv6hXLJxP+pqSaYhpI9Qk8lIvMipNnOXB6gQeqr0HlWiD Vbw0NDNXlENy1BYe5e17+97vF9ierLwqMOT6PCURI2UadI4faNEc37Q+XLP0EDee KlYj1HlxP0OpkQQV4+2aL03jzod4t5cWQ2q/kYXMPOLnrR6maj59B8zhRDl8iUv3 lZPNmWv6h3HxHCEeIb0WtIO/lUh5xiDcnKnF3IbedYtMxpu2fNEUNcJ7HOM35orl 2wHPJhjps5WhOjOA28Sb+L69y9VmpBvA4dGYLErV8TXdVB3bCTW8a/dNsrSi/oSS SAEnXvORZw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-10 required=5 tests=[ALL_TRUSTED=-1] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id PuqmV_SQ8Pxs for <guix-patches@HIDDEN>; Fri, 15 Nov 2024 22:11:16 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id 0A3CE20B3659 for <guix-patches@HIDDEN>; Fri, 15 Nov 2024 22:11:15 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id BB74E2097187 for <guix-patches@HIDDEN>; Fri, 15 Nov 2024 22:11:15 +0100 (CET) From: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik <j@HIDDEN> Date: Fri, 15 Nov 2024 22:11:06 +0100 Message-Id: <20241115211106.2759121-5-j@HIDDEN> In-Reply-To: <20241115211106.2759121-1-j@HIDDEN> References: <20241115211106.2759121-1-j@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=j@HIDDEN; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) * gnu/packages/golang-xyz.scm (go-buf): New variable. Change-Id: I2ff7ee23bcf5413ad3b4b4b9cbfc8a007b0b9b80 --- gnu/packages/golang-xyz.scm | 63 ++++++++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0d6debcac4..0d8147e484 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -68,6 +68,7 @@ (define-module (gnu packages golang-xyz) #:use-module (guix build-system copy) #:use-module (guix gexp) #:use-module (guix git-download) + #:use-module (guix go-mod-download) #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages) @@ -7591,31 +7592,65 @@ (define-public glua #:import-path "github.com/yuin/gopher-lua/cmd/glua" #:unpack-path "github.com/yuin/gopher-lua")))) +(define-public go-buf + (package + (name "go-buf") + (version "1.46.0") + (source + (origin + (method go-mod-fetch) + (uri (go-mod-reference + (go go-1.23) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bufbuild/buf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "049rp4f2i759xmws6pqrw3208x1v0zdcmi3ymjbxmaq4hijl9daw")))))) + (sha256 + (base32 "1sk2jhazaa1y2y5m1nmd753s0gr52c8967xr6j9pf2d675fzi7q0")))) + (arguments + (list + #:go go-1.23 + #:import-path "cmd/buf")) + (build-system go-mod-build-system) + (home-page "https://github.com/bufbuild/buf") + (synopsis "Buf") + (description + "The @@url{https://buf.build,(code buf)} CLI is the best tool for working with +@@url{https://protobuf.dev,Protocol Buffers}. It provides:.") + (license license:asl2.0))) + (define-public go-chroma (package (name "go-chroma") (version "2.14.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alecthomas/chroma") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) + (method go-mod-fetch) + (uri (go-mod-reference + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/chroma") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qgr4gywjks869sc85wb8nby612b8wvsa1dwpsbanjsljq7wq7mp")))))) (sha256 (base32 - "1qgr4gywjks869sc85wb8nby612b8wvsa1dwpsbanjsljq7wq7mp")))) - (build-system go-build-system) + "1xq2v3qr71mbjm328a6snqvba83nq70z6qqjfgh5mp25bwkwy6bl")))) + (build-system go-mod-build-system) (arguments (list #:install-source? #f - #:import-path "github.com/alecthomas/chroma/cmd/chroma")) - (native-inputs - (list go-github-com-alecthomas-assert-v2 - go-github-com-alecthomas-chroma-v2 - go-github-com-alecthomas-kong - go-github-com-mattn-go-colorable - go-github-com-mattn-go-isatty)) + #:import-path "cmd/chroma")) (home-page "https://github.com/alecthomas/chroma") (synopsis "General purpose syntax highlighter in pure Golang") (description -- 2.39.5
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik <j@HIDDEN> Subject: bug#74373: Acknowledgement ([PATCH 4/4] gnu: Add go-buf.) Message-ID: <handler.74373.B.1731705110942.ack <at> debbugs.gnu.org> References: <20241115211106.2759121-5-j@HIDDEN> X-Gnu-PR-Message: ack 74373 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 74373 <at> debbugs.gnu.org Date: Fri, 15 Nov 2024 21:12:04 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 74373 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 74373: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74373 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 1 Dec 2024 23:47:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 01 18:47:31 2024 Received: from localhost ([127.0.0.1]:53474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tHtf1-0008NV-Ed for submit <at> debbugs.gnu.org; Sun, 01 Dec 2024 18:47:31 -0500 Received: from mx.boiledscript.com ([88.99.243.112]:35006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <hako@HIDDEN>) id 1tHtey-0008NL-7h for control <at> debbugs.gnu.org; Sun, 01 Dec 2024 18:47:29 -0500 Date: Mon, 02 Dec 2024 07:47:24 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=mail; t=1733096846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=p7iOxYbnPUsxQMq3kP5FPLnk7dDMGTF4JyJ9qg4htUM=; b=dAertMwK+PoZC3YIx0iAGKtoZtdChPp4FzM6HXCCX3gDajfW/yAYoYMY0OkBSwhTE3esvw BbKrtAqlIy9cXX2YJKe3AWPw8CNLu9fLmKwBvVYcK2YfZKrxoDb4AGHhfdDlXkM6/FA7bV isxBCmbJzmKnWrOXfQFB3j3ugSyDZ76Yf11cfDrHeWP+OqkJadWbwjcj1hBt40Jw6LQAcL iFSuyJ1qHBg9q5F17cCUXdzP1bBwfLkS3c/TQgffBY5FWDu+eS6lQWGGppGJfnN0P8WloJ LQHbfCRZEYndRMRGNoNYXngDTun2iylRZ5j+duJDO7hJsoF3HxvPvgGV+06GBQ== Message-ID: <87zflfdkz7.wl-hako@HIDDEN> From: Hilton Chain <hako@HIDDEN> To: control <at> debbugs.gnu.org Subject: Control message for 74370. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) merge 74370 74371 74372 74373 quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.