From patchwork Mon Feb 13 11:17:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 46919 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 E346C16686; Mon, 13 Feb 2023 11:19:29 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham 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 48125163CB for ; Mon, 13 Feb 2023 11:19:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRWrS-0004GM-4r; Mon, 13 Feb 2023 06:19:06 -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 1pRWrP-0004Fy-HR for guix-patches@gnu.org; Mon, 13 Feb 2023 06:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRWrO-0007IX-KG for guix-patches@gnu.org; Mon, 13 Feb 2023 06:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRWrO-0003oD-Ca for guix-patches@gnu.org; Mon, 13 Feb 2023 06:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61473] [PATCH 1/3] gnu: Add rust-protobuf. * gnu/packages/crates-io.scm (rust-protobuf-2): New variable. References: In-Reply-To: Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Feb 2023 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61473 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61473@debbugs.gnu.org Cc: Efraim Flashner , steve@futurile.net Received: via spool by 61473-submit@debbugs.gnu.org id=B61473.167628714014633 (code B ref 61473); Mon, 13 Feb 2023 11:19:02 +0000 Received: (at 61473) by debbugs.gnu.org; 13 Feb 2023 11:19:00 +0000 Received: from localhost ([127.0.0.1]:47795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWrM-0003nx-9p for submit@debbugs.gnu.org; Mon, 13 Feb 2023 06:19:00 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:33460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWrI-0003ng-I2 for 61473@debbugs.gnu.org; Mon, 13 Feb 2023 06:18:58 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pRWrB-00AYqe-GL; Mon, 13 Feb 2023 12:18:49 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pRWr6-0005kX-35; Mon, 13 Feb 2023 12:18:44 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pRWr3-0003Sq-DZ; Mon, 13 Feb 2023 12:18:41 +0100 From: Steve George Date: Mon, 13 Feb 2023 11:17:55 +0000 Message-Id: <20230213111757.692759-1-steve@futurile.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 80f7e619bb..cd4ca8c48d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43149,6 +43149,31 @@ (define-public rust-prost-0.9 language.") (license license:asl2.0))) +;; It's recommended that rust-protobuf, rust-protobuf-codegen +;; and rust-probuf-codegen-pure be the same version +(define-public rust-protobuf-2 + (package + (name "rust-protobuf") + (version "2.14.0") + (source (origin + (method url-fetch) + (uri (crate-uri "protobuf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "11bl8hf522s9mbkckivnn9n8s3ss4g41w6jmfdsswmr5adqd71lf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing files? + #:skip-build? #f + #:cargo-inputs (("rust-bytes" ,rust-bytes-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/stepancheg/rust-protobuf/") + (synopsis "Rust implementation of Google protocol buffers") + (description "Library to read and write protocol buffer's data.") + (license license:expat))) + (define-public rust-psl-2 (package (name "rust-psl")