From patchwork Fri Mar 11 03:47:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominic Martinez X-Patchwork-Id: 37742 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B8BD827BBEB; Fri, 11 Mar 2022 03:49:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 481DE27BBE9 for ; Fri, 11 Mar 2022 03:49:14 +0000 (GMT) Received: from localhost ([::1]:52894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSWHB-0006PE-Dv for patchwork@mira.cbaines.net; Thu, 10 Mar 2022 22:49:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSWH1-0006NT-08 for guix-patches@gnu.org; Thu, 10 Mar 2022 22:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSWH0-00065l-NJ for guix-patches@gnu.org; Thu, 10 Mar 2022 22:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSWH0-0002Jp-MG for guix-patches@gnu.org; Thu, 10 Mar 2022 22:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH 11/14] gnu: Add go-google-golang-org-protobuf. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Mar 2022 03:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.16469705028801 (code B ref 54335); Fri, 11 Mar 2022 03:49:02 +0000 Received: (at 54335) by debbugs.gnu.org; 11 Mar 2022 03:48:22 +0000 Received: from localhost ([127.0.0.1]:36182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSWGL-0002Hs-PJ for submit@debbugs.gnu.org; Thu, 10 Mar 2022 22:48:22 -0500 Received: from mailout-pe-a.jellyfish.systems ([198.54.127.68]:51617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSWGK-0002Hc-Q7 for 54335@debbugs.gnu.org; Thu, 10 Mar 2022 22:48:21 -0500 Received: from NEW-01-3.privateemail.com (unknown [10.35.5.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout-pe-a.jellyfish.systems (Postfix) with ESMTPSA id 4KFBjV6sjyz9skW for <54335@debbugs.gnu.org>; Fri, 11 Mar 2022 03:48:14 +0000 (UTC) Received: from MTA-05.privateemail.com (unknown [10.50.14.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by NEW-01-3.privateemail.com (Postfix) with ESMTPS id DB0BA1005884 for <54335@debbugs.gnu.org>; Thu, 10 Mar 2022 22:48:14 -0500 (EST) Received: from mta-05.privateemail.com (localhost [127.0.0.1]) by mta-05.privateemail.com (Postfix) with ESMTP id AEECD18000AA; Thu, 10 Mar 2022 22:48:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1646970494; bh=Nly/Fgb+a2CcKBqPztHST///DQST5Rvff51lGY/0I6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tgbPjE017QyOJpYcVxYAFRQING5BvGB3b8dY/T9IpqG5zTdCL8ESRI7YCmHnGj7RE O7G9hRwZsvCIXcFF77Ra9ULM6Gf6UVEvK8SlYXRpWfEIl2icip+5pY1FdRCFLEK2Me Pe3FdnIu672HRIJ00WtI8n/7xfzXVZt8iBhkvsijca+tQd++52lPptdVrB/d/NjR21 hJAE4xaF6VderSs1D7pMg5oxDFv0st2tGqg7edgPvbVVGyEyYYqLzMswUCRJYe7pBC GvhRRST2MgQFNJ3nfC6m8GYu+awe0QozZaAaT2aqfhJFr8+QLYQP+xMFK+pidkyQoC haY/xLDLYt/ZA== Received: from localhost.localdomain (unknown [10.20.151.197]) by mta-05.privateemail.com (Postfix) with ESMTPA id 3653F18000A3; Thu, 10 Mar 2022 22:48:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1646970494; bh=Nly/Fgb+a2CcKBqPztHST///DQST5Rvff51lGY/0I6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tgbPjE017QyOJpYcVxYAFRQING5BvGB3b8dY/T9IpqG5zTdCL8ESRI7YCmHnGj7RE O7G9hRwZsvCIXcFF77Ra9ULM6Gf6UVEvK8SlYXRpWfEIl2icip+5pY1FdRCFLEK2Me Pe3FdnIu672HRIJ00WtI8n/7xfzXVZt8iBhkvsijca+tQd++52lPptdVrB/d/NjR21 hJAE4xaF6VderSs1D7pMg5oxDFv0st2tGqg7edgPvbVVGyEyYYqLzMswUCRJYe7pBC GvhRRST2MgQFNJ3nfC6m8GYu+awe0QozZaAaT2aqfhJFr8+QLYQP+xMFK+pidkyQoC haY/xLDLYt/ZA== From: Dominic Martinez Date: Thu, 10 Mar 2022 22:47:38 -0500 Message-Id: <20220311034741.14377-2-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220311034741.14377-1-dom@dominicm.dev> References: <20220311031849.12681-1-dom@dominicm.dev> <20220311034741.14377-1-dom@dominicm.dev> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable. --- gnu/packages/golang.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5070981cfd..bac9dda1f7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10017,3 +10017,42 @@ (define-public go-github-com-vishvananda-netlink contained in the nl subpackage. This package attempts to provide a high-level interface that is loosly modeled on the iproute2 cli.") (license license:asl2.0))) + +(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://go.googlesource.com/protobuf") + (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" + ;; Source-only package + #:tests? #f + #:phases + (modify-phases %standard-phases + ;; Source-only package + (delete 'build)))) + (native-inputs + (list go-github-com-google-go-cmp-cmp)) + (home-page "https://google.golang.org/protobuf") + (synopsis "Go support for Protocol Buffers") + (description + "This project hosts the Go implementation for +@url{https://developers.google.com/protocol-buffers,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. This project provides both a tool to generate Go code for the +protocol buffer language, and also the runtime implementation to handle +serialization of messages in Go. See the +@url{https://developers.google.com/protocol-buffers/docs/overview,protocol +buffer developer guide} for more information about protocol buffers themselves.") + (license license:bsd-3)))