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: 9920 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") 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: 9921 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") From patchwork Mon Feb 13 11:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 9922 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 7954D16686; Mon, 13 Feb 2023 11:20:44 +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 F41B2163CB for ; Mon, 13 Feb 2023 11:20:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRWsh-0004R6-RC; Mon, 13 Feb 2023 06:20:23 -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 1pRWsW-0004Om-Oh for guix-patches@gnu.org; Mon, 13 Feb 2023 06:20:12 -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-0007Np-6N for guix-patches@gnu.org; Mon, 13 Feb 2023 06:20:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRWsM-0003qV-1v for guix-patches@gnu.org; Mon, 13 Feb 2023 06:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61473] [PATCH 3/3] gnu: Add rust-protobuf-codegen-pure. * gnu/packages/crates-io.scm (rust-protobuf-codegen-pure): 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.167628715414689 (code B ref 61473); Mon, 13 Feb 2023 11:20:02 +0000 Received: (at 61473) by debbugs.gnu.org; 13 Feb 2023 11:19:14 +0000 Received: from localhost ([127.0.0.1]:47800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWrZ-0003or-K2 for submit@debbugs.gnu.org; Mon, 13 Feb 2023 06:19:13 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:48374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWrX-0003oX-2c for 61473@debbugs.gnu.org; Mon, 13 Feb 2023 06:19:12 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] 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 1pRWrR-00AYqt-GZ for 61473@debbugs.gnu.org; Mon, 13 Feb 2023 12:19:05 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pRWrR-000715-7l; Mon, 13 Feb 2023 12:19:05 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pRWrF-0003Tp-3z; Mon, 13 Feb 2023 12:18:53 +0100 From: Steve George Date: Mon, 13 Feb 2023 11:17:57 +0000 Message-Id: <20230213111757.692759-3-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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c94a62b628..5720d570d6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43198,6 +43198,29 @@ (define-public rust-protobuf-codegen-2 invoke programmatically (e.g. from `build.rs`) and `protoc-gen-rust` binary.") (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-pure-2 + (package + (name "rust-protobuf-codegen-pure") + (version "2.14.0") + (source (origin + (method url-fetch) + (uri (crate-uri "protobuf-codegen-pure" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h34gfqlb7bqmgqv1mfgy5wk35z5r2h5ki3p3pdcmw1vqzmly6id")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs (("rust-protobuf" ,rust-protobuf-2) + ("rust-protobuf-codegen" ,rust-protobuf-codegen-2)))) + (home-page "https://github.com/stepancheg/rust-protobuf/") + (synopsis "Pure-rust codegen for protobuf using protobuf-parser") + (description "Pure-rust codegen for protobuf using protobuf-parser.") + (license license:expat))) + (define-public rust-psl-2 (package (name "rust-psl")