From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6I7MKka5N2evIAAAe85BDQ:P1 (envelope-from ) for ; Fri, 15 Nov 2024 21:12:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6I7MKka5N2evIAAAe85BDQ (envelope-from ) for ; Fri, 15 Nov 2024 22:12:38 +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=LeV61NXT; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b=I6oYhkSq; dmarc=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=1731705158; a=rsa-sha256; cv=none; b=oDejEJGE2f1lC1L8VvQ1ik9tEpC7llOT4mCoksIaR6DZmGD445Nov2ysC10rk46aaTYbLA plKn03/RQ9v3LY34NRTBfsD4jN/9/W6+jc1ZhiEQwHn1t1REgyraRbE/9ITwzng4pSHS78 BiLcXg/1d1Ko9ayW6KhAjz9He03fcEs1HrY2/rZd1x2ZgOgbxtcgkeKQ6PJi+KSwvXaZiH rs14mwCsBmDms3qujHwwj+JOaiNS/TY8CDguZG/DPhYhZuSybIBg9OCVQ4Hrrwp3HNKf9V tzGno4mpeSE74d2vWr4wK13l2fdS9TRZxRMcSdvvBTPGOTwng/MBi1kzvdS4hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LeV61NXT; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b=I6oYhkSq; dmarc=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=1731705158; 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=sOLzUXbmn++WwRYEDzd7Oaokx8dkLM6oP0xdf0EMoaQ=; b=r6peyBZILu47CJYNxVb4McoE1IVcJLvkkC678QwQbUBacvuNRZoy10UaIzfpO7NtssbQ4N 0pp0z6ThLao/cRgB2+OH8x4CMe9rHa8yS8kz+WF25wsbVGsMtAB27kI3/FlZS9M21RXOOm 6rcz7zrsddlCnD6NljSqFJvHf1m9ZGKoF5wVgCagb1cfijqbVkEXHWAerasmIgutXKdkwK 64Yti73CCGTTPmCn5KlJ+SRmobOIvWLZu+4YdYE7y7qqe9IsV4N6L+JnrtN1+y7yjjDLiI NmRq13afvUOoK3Yy3TrrnQ4MaSP2Kb7C+1s/leVAC+QxYMC6BVH/76Vr3qTKyQ== 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 4D99C8139D for ; Fri, 15 Nov 2024 22:12:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tC3bs-0002FM-TX; Fri, 15 Nov 2024 16:12:08 -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 1tC3bo-0002Dx-N7 for guix-patches@gnu.org; Fri, 15 Nov 2024 16:12:04 -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 1tC3bo-00069e-D3 for guix-patches@gnu.org; Fri, 15 Nov 2024 16:12:04 -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=sOLzUXbmn++WwRYEDzd7Oaokx8dkLM6oP0xdf0EMoaQ=; b=LeV61NXTaHFJL6p2m6lwwGO2ULRxw+nn0HOyp7UkixHfeVE912goYuB3+FyNnKChBFq9zrt5xW7NHxhX+CEtcbilmjBmUJVS5fN2jQ/8vnyNJzpzp/9sNn1TAhrovSa3wjZ/vi8m0x+NML0bqmkn7tQaQr4z5JIFL80I8Xl/JvCYM3l+douOrfHvSU2QtgVUhvyyCIFov7SxLvap8sCKbulL9++NiAald9WEag75gk7yCoZiEown0MXymtJ8vLgmnBcSDqnR8ppUR1KVoFLfdD+Oj+aEltLbfqe+FeQudM2Nvp13iO31sGgKy6bGeGSvMpNxqjq23SFzEpvBHjOZfw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tC3bo-0000Gc-7h for guix-patches@gnu.org; Fri, 15 Nov 2024 16:12:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74373] [PATCH 4/4] gnu: Add go-buf. Resent-From: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Nov 2024 21:12:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74373 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74373@debbugs.gnu.org Cc: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@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 ) id 1tC3ba-0000F7-2I for submit@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 ) id 1tC3bR-0000EH-SQ for submit@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 ) id 1tC3bN-0002Bp-St for guix-patches@gnu.org; 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 ) id 1tC3bD-00066A-V6 for guix-patches@gnu.org; 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 ; Fri, 15 Nov 2024 22:11:17 +0100 (CET) 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 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 ; 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 ; 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 ; Fri, 15 Nov 2024 22:11:15 +0100 (CET) From: =?UTF-8?Q?J=C3=B8rgen?= Kvalsvik Date: Fri, 15 Nov 2024 22:11:06 +0100 Message-Id: <20241115211106.2759121-5-j@lambda.is> In-Reply-To: <20241115211106.2759121-1-j@lambda.is> References: <20241115211106.2759121-1-j@lambda.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.80.155; envelope-from=j@lambda.is; 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-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.58 X-Spam-Score: -1.58 X-Migadu-Queue-Id: 4D99C8139D X-Migadu-Scanner: mx12.migadu.com X-TUID: bpV4wmGKAU+/ * 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