From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sD9OEkkSyWUEHAEA62LTzQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 19:30:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sD9OEkkSyWUEHAEA62LTzQ (envelope-from ) for ; Sun, 11 Feb 2024 19:30:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b=YMYbm7YP; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707676233; 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=ZFw+q2QJvTY35+QH1Bs/INru6TeFBgUyYywqAcH0TQk=; b=Zi9k74DryWPcbn+L5sr86vxZZb6btBACrbk0mTyyZYQHsBl5TKtdz0aRGD8GB0+Bs54CMv PpKORr3D0kdUiUfkktrinm1zpUOsonQ607qGgVX6BqCmkc1ZMWQoyOFVjFRBVKH9m/CD5K SEbAzeouExq26y/QIUis5CDydRaJdgdbFXV6nZzEZQzH6BAvdgcT/wTRmQz1shpfK9gMS4 AdMKh/xBs9cnWYYBkY5m5vbbVzdYv732UCAE4XDefH2ux4H4tzjodBFKTXdKFga48Vn6ky gJ9ETplts4kQtEIkj+v2RG/g3dSjzcWGL/sUugSR0xyRVwBhLbuAR49nQPmPBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mmer.org header.s=dkim header.b=YMYbm7YP; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707676233; a=rsa-sha256; cv=none; b=SSL4qfObf4VnPjmvPYBatbzv0+RyB8BcoYJibJlQhHXn7NwwAgZRx7HAXU75TT73DNb7vp o6igftAaGi8v146V1Xf6A7gI+PFwp7DKqSF1A4irYDiXmQN0+6ID3CpzF0oROLVxBAHvZu KND/PfH0EapOdurDlgRPp4X0MG0BKdE9MUqth7Yox0OOm+zbiuiDfG1uGQylNOOhc+mes3 6BbUmvyc3IYjwAvdS3b4WQJOsQd0d7EDGNWZLj2Roz7MnLiryPlXqapUmfYLQwNsbD43YT DCOeYKLXSjn9qbBugPaxp2K0VxO8EQETGrz0eXLyGUz3+paN9jDEomodewSshw== 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 D0089255DA for ; Sun, 11 Feb 2024 19:30:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZEaP-0005rP-Ee; Sun, 11 Feb 2024 13:29:53 -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 1rZEaK-0005p9-8f for guix-patches@gnu.org; Sun, 11 Feb 2024 13:29:48 -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 1rZEaK-0008Ev-0O for guix-patches@gnu.org; Sun, 11 Feb 2024 13:29:48 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZEaa-0003Xp-9K; Sun, 11 Feb 2024 13:30:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH v4 08/12] gnu: Add go-google-golang-org-protobuf. Resent-From: Alexey Abramov Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 18:30:04 +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: Katherine Cox-Buday , Sharlatan Hellseher X-Debbugs-Original-Xcc: Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.170767615413422 (code B ref 54335); Sun, 11 Feb 2024 18:30:04 +0000 Received: (at 54335) by debbugs.gnu.org; 11 Feb 2024 18:29:14 +0000 Received: from localhost ([127.0.0.1]:37992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZEZl-0003UM-A3 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 13:29:13 -0500 Received: from mail.mmer.org ([178.22.65.174]:48234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZEZb-0003Rm-QU for 54335@debbugs.gnu.org; Sun, 11 Feb 2024 13:29:05 -0500 Received: from mail.mmer.org (localhost [127.0.0.1]) by mail.mmer.org (OpenSMTPD) with ESMTP id 3eedf0ab for <54335@debbugs.gnu.org>; Sun, 11 Feb 2024 18:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=mmer.org; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=r0l4bIqZDJxuQXZ7wB7zCBPqB DNr4hDEUyJPL1hk+7Y=; b=YMYbm7YPbDi0HXlfBoTvxxhRbqhJYGZt9EOPg64Ap iBs50SUrq2TOG8LYZOM10Kw2EwZAO/VVQSIC7UQYXplJ27FvLCxCXajv65U/ffV4 ZgctI1cBqt7VbwQQyQyik43HpsE9T+43XHzVF1/xfiTcvGQ9abd7U3b3h4e8Tt02 S8= Received: from delta (i60212.upc-i.chello.nl [62.195.60.212]) by mail.mmer.org (OpenSMTPD) with ESMTPSA id b9722502 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <54335@debbugs.gnu.org>; Sun, 11 Feb 2024 18:28:36 +0000 (UTC) Date: Sun, 11 Feb 2024 19:28:22 +0100 Message-ID: <20240211182830.3631-9-levenson@mmer.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240211182830.3631-1-levenson@mmer.org> References: <20240211182830.3631-1-levenson@mmer.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: , Reply-to: Alexey Abramov X-ACL-Warn: , Alexey Abramov via Guix-patches From: Alexey Abramov via Guix-patches via 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: -6.68 X-Spam-Score: -6.68 X-Migadu-Queue-Id: D0089255DA X-Migadu-Scanner: mx12.migadu.com X-TUID: 3/29LJhoaWPz From: Dominic Martinez * gnu/packages/golang.scm (go-google-golang-org-protobuf): New variable. --- gnu/packages/golang.scm | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index b87e820db1..2f419fe35d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11845,6 +11845,48 @@ (define-public go-github-com-songgao-water etc.. Use waterutil with it to work with TUN/TAP packets/frames.") (license license:bsd-3))) +(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 + '(#:import-path "google.golang.org/protobuf" + #:phases + ;; Build and test all sub-packages + (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://go.googlesource.com/protobuf") + (license license:bsd-3))) ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar -- 2.41.0