From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4OzwLXDNPWIgCwEAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 15:10:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CKCGJnDNPWKd2gAAG6o9tA (envelope-from ) for ; Fri, 25 Mar 2022 15:10:56 +0100 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 1669C1B875 for ; Fri, 25 Mar 2022 15:10:56 +0100 (CET) Received: from localhost ([::1]:47196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkeU-0000pY-LY for larch@yhetil.org; Fri, 25 Mar 2022 10:10:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXkdj-0000kl-ON for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXkdj-0004an-G9 for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXkdj-00039d-6w for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf. References: <20220325055517.2060-1-hello@lnikki.la> In-Reply-To: <20220325055517.2060-1-hello@lnikki.la> Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 14:10:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54560@debbugs.gnu.org Cc: Leo =?UTF-8?Q?Nikkil=C3=A4?= Received: via spool by 54560-submit@debbugs.gnu.org id=B54560.164821736111713 (code B ref 54560); Fri, 25 Mar 2022 14:10:07 +0000 Received: (at 54560) by debbugs.gnu.org; 25 Mar 2022 14:09:21 +0000 Received: from localhost ([127.0.0.1]:51968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkcy-00032j-S0 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:09:21 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:48633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXk3z-0001db-KA for 54560@debbugs.gnu.org; Fri, 25 Mar 2022 09:33:12 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E245332005C1; Fri, 25 Mar 2022 09:33:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 25 Mar 2022 09:33:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; bh=deTLTmJaw+WTRpOs6O4JtHhI10amOtGD8lijaY q49zs=; b=rzNbDGPZgzj3AGZYEWVyjjj53RkkAtSwfCqHNxDuYRohyeNej0Ispt a1hmia0AvL8sGfVw9HvgWQTpd+ZUYlTfHz2H98PEup1bw+zHOGz/zzGh2Sgn5kZz FdS6mwBiaKPjcbeoAKsHB9EDDfL6/il3HpKhUHmACSaxsM9+AU136PmiwmSOjiCg 5xABOpd6yMRWwkDhIXy93PuXulVS+/QI/BUk85xPwLgBXH+ZYMUZFW85DbP4SuwV G0SRzPavywE9Ypq44QnHT06Otef1xzzDEnxq20+mgho6yZe/kLoXKV5r3jvyhOet wdPwxuBbDnS+sr7NSLUqf5IBYZAphvNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=deTLTm Jaw+WTRpOs6O4JtHhI10amOtGD8lijaYq49zs=; b=lZCJdx5PPaTwFODMhC/RKK NREcBDVL9rZbW5f/Ll/tvOAx0p+i09x8jYMGRSQ7lRyqiHzxnqm4N9/9DTiRc94p dj0lQRlpCp9mc9i/+D2nToW/hHPH87mjo7sCT78VAvntU+tl6zX2rS5bUVCOiEks uUPtfEDMQNix2K6y+y21uaP97f76JeNzOqmHbLM1k1D+3Ju1DEf7BfhUBBi8c28S AcuTp0l6eTOOYS/vwXwEer+2+/SA0+ujzoKzLiEgA7i4fT0n+PKX284v5rMlvP8T S7VSeH17GscGQl1lyzYdrqFip+wfRGunrJ7uyuMc5tw7bqAafu4vwQg0FOqxXElQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofggtgfgsehtkeertd ertdejnecuhfhrohhmpefnvghoucfpihhkkhhilhomuceohhgvlhhloheslhhnihhkkhhi rdhlrgeqnecuggftrfgrthhtvghrnhepteevtedtkeeugfeuffeiuedvteduuddvveegve ejveekueetgeelhfeiteffleejnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpghho lhgrnhhgrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhephhgvlhhloheslhhnihhkkhhirdhlrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 09:33:03 -0400 (EDT) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 15:31:25 +0200 Message-Id: <20220325133211.5128-1-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 25 Mar 2022 10:09:18 -0400 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648217456; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=deTLTmJaw+WTRpOs6O4JtHhI10amOtGD8lijaYq49zs=; b=XPMxzsu+ggtEoWm1mmgZon6ZTwZ2hhCgOwUUpTS40xkofNTNPrHho5EGRSNZwbeDzS+dD8 ziKvOXPUBA9PPEmX/APypNwY+o6EfPCd54CdLF7pKxiMyyZeQbe/HhA/YrZefTzPl1NO+i dO9LTMDADSkeCHyrGDFIok59WXzkfN4MshPPr256VUVhlamcg1zwL/k4dQGqapnnFFG34B y02NhTrbFKxv7HrAd8nIjJEHHe4OfTffvlRcv48P0h87f2/nGJEKoL8Uu9jZ85neVAu51K 18gIdd/gR5PH5ApKuHL4R6WbydFA6vIywzawolsMAulBWqFVbAccBwdm05h6QQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648217456; a=rsa-sha256; cv=none; b=rsONlo8FI+nEURZJ3wSiBKOIqALrFT+4dF/+zDO2oH7vCYdY4JpQeGmHIGpjmnQTUEDjG0 7WkzkioMnFmpmWqIZhMXqCgtAsTKC/tA+00p7G1LJu5Lt81ozsKrP/UYX2UE/vqlaAEnMA 2e42xo2wDSzY049a6Q3pN9y6Lgc4cjQt0JStw6oPJ2bCFmGT5di7xyCFw37gOGXr6gmkFQ Oqfhq8D4wjltoSSLB4QqtIiH2gY8+z3qAKwV9VoP4y1X0yk7zOFM7BFm6Mpl8GlL0+oUIn 87wcMXC9jrLJRyoBmAG1DLT6k5mYuZb6mamPfvfyAOwr9k7tlTR30xFF5oQUiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=rzNbDGPZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=lZCJdx5P; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (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" X-Migadu-Spam-Score: 6.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=rzNbDGPZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=lZCJdx5P; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (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" X-Migadu-Queue-Id: 1669C1B875 X-Spam-Score: 6.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: ue6xz8EQoxjH * gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable. --- gnu/packages/golang.scm | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a8b845e301..455c4daf30 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Chadwain Holness ;;; Copyright © 2021 Philip McGrath ;;; Copyright © 2021 Lu Hui +;;; Copyright © 2022 Leo Nikkilä ;;; ;;; This file is part of GNU Guix. ;;; @@ -9774,3 +9775,45 @@ (define-public go-github-com-go-chi-chi-v5 "@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user decompose request handling into many smaller layers.") (license license:expat))) + +(define-public go-google-golang-org-protobuf + (package + (name "go-google-golang-org-protobuf") + (version "1.27.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/protocolbuffers/protobuf-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0aszb7cv8fq1m8akgd4kjyg5q7g5z9fdqnry6057ygq9r8r2yif2")))) + (build-system go-build-system) + (arguments + '(#:import-path "google.golang.org/protobuf" + #:phases + (let ((glob-path "google.golang.org/protobuf/...")) + (modify-phases %standard-phases + (replace 'build + (lambda args + (apply (assoc-ref %standard-phases + 'build) + `(,@args #:import-path + ,glob-path)))) + (replace 'check + (lambda args + (apply (assoc-ref %standard-phases + 'check) + `(,@args #:import-path + ,glob-path)))))))) + (native-inputs (list go-github-com-google-go-cmp-cmp)) + (synopsis "Go support for Google's protocol buffers") + (description + "Go implementation for protocol buffers, which is a +language-neutral, platform-neutral, extensible mechanism for serializing +structured data. The protocol buffer language is a language for +specifying the schema for structured data. This schema is compiled into +language specific bindings.") + (home-page "https://github.com/protocolbuffers/protobuf-go") + (license license:bsd-3))) -- 2.34.0