From patchwork Mon Feb 13 11:17:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 46920 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 E0B5F16686; Mon, 13 Feb 2023 11:20:40 +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,URIBL_BLOCKED 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 2BD3C163CB for ; Mon, 13 Feb 2023 11:20:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRWsg-0004Pk-4O; Mon, 13 Feb 2023 06:20:22 -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 1pRWsX-0004Oo-6Q for guix-patches@gnu.org; Mon, 13 Feb 2023 06:20:16 -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 1pRWsM-0007OF-Iu for guix-patches@gnu.org; Mon, 13 Feb 2023 06:20:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRWsM-0003qd-Es for guix-patches@gnu.org; Mon, 13 Feb 2023 06:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61473] [PATCH 2/3] gnu: Add rust-protobuf-codegen. * gnu/packages/crates-io.scm (rust-protobuf-codegen): New variable. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Feb 2023 11:20: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.167628715714699 (code B ref 61473); Mon, 13 Feb 2023 11:20:02 +0000 Received: (at 61473) by debbugs.gnu.org; 13 Feb 2023 11:19:17 +0000 Received: from localhost ([127.0.0.1]:47802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWrc-0003p1-Um for submit@debbugs.gnu.org; Mon, 13 Feb 2023 06:19:17 -0500 Received: from mailtransmit04.runbox.com ([185.226.149.37]:60802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWrY-0003oZ-NM for 61473@debbugs.gnu.org; Mon, 13 Feb 2023 06:19:13 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1pRWrS-00AURR-L5; Mon, 13 Feb 2023 12:19:06 +0100 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pRWrS-00071G-92; Mon, 13 Feb 2023 12:19:06 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pRWrA-0006to-Ch; Mon, 13 Feb 2023 12:18:48 +0100 From: Steve George Date: Mon, 13 Feb 2023 11:17:56 +0000 Message-Id: <20230213111757.692759-2-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230213111757.692759-1-steve@futurile.net> References: <20230213111757.692759-1-steve@futurile.net> 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cd4ca8c48d..c94a62b628 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43174,6 +43174,30 @@ (define-public rust-protobuf-2 (description "Library to read and write protocol buffer's data.") (license license:expat))) +;; It's recommended that rust-protobuf, rust-protobuf-codegen +;; and rust-probuf-codegen-pure be the same version +(define-public rust-protobuf-codegen-2 + (package + (name "rust-protobuf-codegen") + (version "2.14.0") + (source (origin + (method url-fetch) + (uri (crate-uri "protobuf-codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "031bx325lsgcx7wc76vc2cqph6q0b34jgc8nz0g2rkwcfnx3n4fy")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs (("rust-protobuf" ,rust-protobuf-2)))) + (home-page "https://github.com/stepancheg/rust-protobuf/") + (synopsis "Code generator for rust-protobuf") + (description + "Code generator for rust-protobuf. Includes a library to +invoke programmatically (e.g. from `build.rs`) and `protoc-gen-rust` binary.") + (license license:expat))) + (define-public rust-psl-2 (package (name "rust-psl")