From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6JMKJODfpmJS+gAAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 08:57:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iMAgI+DfpmJYeAAAG6o9tA (envelope-from ) for ; Mon, 13 Jun 2022 08:57:36 +0200 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 301112C359 for ; Mon, 13 Jun 2022 08:57:36 +0200 (CEST) Received: from localhost ([::1]:44180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0e11-0002RJ-As for larch@yhetil.org; Mon, 13 Jun 2022 02:57:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0e0W-0001xD-NQ for guix-patches@gnu.org; Mon, 13 Jun 2022 02:57:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0e0W-0002Of-FU for guix-patches@gnu.org; Mon, 13 Jun 2022 02:57:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0e0W-0007zL-FI for guix-patches@gnu.org; Mon, 13 Jun 2022 02:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v2 03/35] gnu: Add go-google-golang-org-protobuf. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Jun 2022 06:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55903@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 55903-submit@debbugs.gnu.org id=B55903.165510340630458 (code B ref 55903); Mon, 13 Jun 2022 06:57:04 +0000 Received: (at 55903) by debbugs.gnu.org; 13 Jun 2022 06:56:46 +0000 Received: from localhost ([127.0.0.1]:56976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0e0E-0007v1-12 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 02:56:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0e0B-0007uY-En for 55903@debbugs.gnu.org; Mon, 13 Jun 2022 02:56:44 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C233643DC2; Mon, 13 Jun 2022 08:56:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wPMaRWdb2qg7; Mon, 13 Jun 2022 08:56:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1655103400; bh=d7eeVomEZTDfvXRlSDZR5pTI/JAOsjPvDZ5V2Qmk7Fc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eWHQXhofe65Sf72663/LKmBjmRFv65P3T1AdvW6vV+i8V82UD0NwULLFLvurxPSut QcYhRwZWMOAuumV+Y6LBbdprrEVsJo0JSjBk0pcEciwN7PkdIOuRIGk8cQiqotBZvT qTshA3JBwN2NsefrKjM2OinOXzZJnKyQaTjRh9Cg7ljej8nZIQBC3RoT+LBJsCGXlQ 1+PXzQ4fgl5yrE8D3ISF1maqistsmD27v3YvZI4SoPUmY1VHsOgdW+Soe1078mTuzj EEFDQnBplxIa0EcJgkGQcC3pkNBgk7gFbMk2CF25IHLGwSFgrq/MUxOakQq1af9rhf LGzrLGcjpijlQ== Date: Mon, 13 Jun 2022 07:56:02 +0100 Message-Id: <20220613065634.25256-3-paren@disroot.org> In-Reply-To: <20220613065634.25256-1-paren@disroot.org> References: <20220613065634.25256-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via 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=1655103456; h=from:from:sender:sender:reply-to: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=E2N6bkaMNVLSmiSNnXkwQoB8TQUsV5DubpcJUTeKaXg=; b=t01qvaZXBsUU2ievruzFI+K6MDhRsABVCKlB4awcr9ApkLt5UURsLj1kNlCoMPBFkzUbv9 U3e/SJSETQ2v85BGRXCd48aK9Ul5SHjRHga6vvAsOIt9a2+nvrcB0cLvYxs7CygGBoBqdq RREHp4tBfG9R2jMb5uJ1wasOCRhoWDyODxjp8kke9x7nI+CVD4+TbKaCsrIjrsTqkIkZqQ Pqj71dHsLpbRzKRgfVgsXu/Vu/jHpIXZG7K85fwPMskuJtYBnar1iBuOq2S2+DQnAAmOaP Af6JkWhYJgopMJjPEAFFFwrDJ6hMYWn30aQYI7CZXB2QFCFAuYkADCOPyM0aKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655103456; a=rsa-sha256; cv=none; b=dd2MiIsymSKf4lfcSI6l9kZB0Nt9/cjXFMKR8xToso83HbRCJ61rDrobu7b1Ebr8Gd92BY K/HviANoi4UlWL3Wi7+6AM10eY62YfLrzu682aV12O4DBG3qsH/gMMHKVSD2Vt8IaRyIGB FbWhOk/w4bHurPlo0bwWUwfTvto57zStHcpqgeszSpWikM2Afq9W3nkUFn4v0i+LmpvPSU u9YHro3FIjHa3QZEZdYILXRiyZmPKqDexB6KLiKpzyw+s+GpQekrsRQSKGX6e5J4yrTohj cw1z2U+IwwB4YAo2kN2LBpOzZbsE/CoAB/LxLSfPI+PQwUjYcwUe0CCWWrqv7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=eWHQXhof; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=eWHQXhof; dmarc=pass (policy=none) header.from=gnu.org; 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: 301112C359 X-Spam-Score: -2.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: J38ByH0K5zZw From: "(unmatched-parenthesis" * gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable. --- gnu/packages/golang.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 50b7ac2e23..bec0a2b95b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -56,6 +56,7 @@ (define-module (gnu packages golang) #:use-module (guix utils) #:use-module ((guix build utils) #:select (alist-replace)) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix build-system gnu) @@ -9925,3 +9926,36 @@ (define-public go-github-com-creack-pty (description "The pty package provides functions for working with Unix pseudoterminals.") (license license:expat))) + +(define-public go-google-golang-org-protobuf + (package + (name "go-google-golang-org-protobuf") + (version "1.28.0") + (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 + "1nzcc4qc00afi24nb7nlnwyzvvr6b8s8qdrn1sw085nygh2y2x8r")))) + (build-system go-build-system) + (arguments + (list #:import-path "google.golang.org/protobuf" + #:tests? #f ; source-only package + #:phases #~(modify-phases %standard-phases + ;; source-only package + (delete 'build)))) + (propagated-inputs (list go-github-com-google-go-cmp-cmp + go-github-com-golang-protobuf-proto)) + (home-page "https://google.golang.org/protobuf") + (synopsis "Go library for Protocol Buffers") + (description + "The protobuf package provides a Go implementation of Protocol Buffers, a +language and platform neutral, extensible mechanism for serializing structured +data. + +This package is a successor to @code{go-github-com-golang-protobuf} with an +improved and cleaner API.") + (license license:bsd-3))) -- 2.36.1