From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 10:09:21 2022 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: =?utf-8?Q?Leo=20Nikkil=C3=A4?= To: 54560@debbugs.gnu.org Subject: [PATCH 01/47] gnu: Add go-google-golang-org-protobuf. 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-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54560 X-Mailman-Approved-At: Fri, 25 Mar 2022 10:09:18 -0400 Cc: =?UTF-8?q?Leo=20Nikkil=C3=A4?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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