From patchwork Thu Feb 16 23:00:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47020 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 E929D16934; Thu, 16 Feb 2023 23:02:21 +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=unavailable 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 1721B16919 for ; Thu, 16 Feb 2023 23:02:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnGP-0001r5-Bz; Thu, 16 Feb 2023 18:02:05 -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 1pSnGM-0001q4-LP for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -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 1pSnGM-0005UU-7G for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnGM-00034I-1V for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61561] [PATCH 1/5] gnu: Add rust-pretty-assertions-0.5. References: In-Reply-To: Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61561@debbugs.gnu.org Cc: Steve George Received: via spool by 61561-submit@debbugs.gnu.org id=B61561.167658849411698 (code B ref 61561); Thu, 16 Feb 2023 23:02:02 +0000 Received: (at 61561) by debbugs.gnu.org; 16 Feb 2023 23:01:34 +0000 Received: from localhost ([127.0.0.1]:37941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnFu-00032c-2R for submit@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:34 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:46504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnFr-00032N-2l for 61561@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:31 -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 1pSnFk-002Gjx-5Y for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:24 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnFh-0003zn-Gj for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:21 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnFV-0003Tv-7d; Fri, 17 Feb 2023 00:01:09 +0100 From: Steve George Date: Thu, 16 Feb 2023 23:00:59 +0000 Message-Id: <20230216230103.107367-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 (rust-pretty-assertions-0.5): New variable. --- Tests fail as they require Rust 1.35, added a comment. gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e615a51b01..355c8ef761 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42350,6 +42350,27 @@ (define-public rust-pretty-assertions-0.6 ("rust-ansi-term" ,rust-ansi-term-0.11) ("rust-difference" ,rust-difference-2)))))) + ; test fail because minimum rust required is 1.35 +; https://github.com/rust-pretty-assertions/rust-pretty-assertions/issues/32 +(define-public rust-pretty-assertions-0.5 + (package + (inherit rust-pretty-assertions-0.6) + (name "rust-pretty-assertions") + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "pretty-assertions" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ins6swkpxmrh8q5h96h8nv0497d3dclsiyx2lyvqi6py0q980is")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:skip-build? #f + #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.11) + ("rust-difference" ,rust-difference-2)))))) + (define-public rust-pretty-assertions-0.4 (package (inherit rust-pretty-assertions-0.6) From patchwork Thu Feb 16 23:01:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47018 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 C5DD716937; Thu, 16 Feb 2023 23:02:11 +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 BA0FC16919 for ; Thu, 16 Feb 2023 23:02:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnGP-0001rO-Ot; Thu, 16 Feb 2023 18:02:05 -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 1pSnGO-0001qP-6B for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:04 -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 1pSnGN-0005Uu-Ur for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnGN-00034m-QY for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61561] [PATCH 2/5] gnu: add rust-downcast Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 23:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61561@debbugs.gnu.org Cc: Steve George Received: via spool by 61561-submit@debbugs.gnu.org id=B61561.167658851911786 (code B ref 61561); Thu, 16 Feb 2023 23:02:03 +0000 Received: (at 61561) by debbugs.gnu.org; 16 Feb 2023 23:01:59 +0000 Received: from localhost ([127.0.0.1]:37953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnGI-000341-I7 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:58 -0500 Received: from mailtransmit04.runbox.com ([185.226.149.37]:51484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnGD-00033S-Sf for 61561@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:54 -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 1pSnG8-002E3p-Aj for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:48 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnG8-0006yi-2m for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:48 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnFi-0003Ve-5T; Fri, 17 Feb 2023 00:01:22 +0100 From: Steve George Date: Thu, 16 Feb 2023 23:01:00 +0000 Message-Id: <20230216230103.107367-2-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216230103.107367-1-steve@futurile.net> References: <20230216230103.107367-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 (rust-downcast-0.11): New variable. --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 355c8ef761..180b0838a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17761,6 +17761,28 @@ (define-public rust-document-features-0.2 @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) +(define-public rust-downcast-0.11 + (package + (name "rust-downcast") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "downcast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l")))) + (build-system cargo-build-system) + (arguments + `( #:skip-build? #f)) + (home-page "https://github.com/fkoep/downcast-rs") + (synopsis + "Trait for downcasting trait objects back to their original types") + (description + "A trait, and utilities, for downcasting trait objects back +to their original types. The same as the rust-downcast-rs crate.") + (license license:expat))) + (define-public rust-downcast-rs-1 (package (name "rust-downcast-rs") @@ -42372,7 +42394,7 @@ (define-public rust-pretty-assertions-0.5 ("rust-difference" ,rust-difference-2)))))) (define-public rust-pretty-assertions-0.4 - (package + (package (inherit rust-pretty-assertions-0.6) (name "rust-pretty-assertions") (version "0.4.1") From patchwork Thu Feb 16 23:01:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47022 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 D5FEF16937; Thu, 16 Feb 2023 23:04:30 +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 1D42716919 for ; Thu, 16 Feb 2023 23:04:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnGR-0001sk-AT; Thu, 16 Feb 2023 18:02:07 -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 1pSnGN-0001qJ-Br for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:04 -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 1pSnGN-0005Uk-4H for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnGM-00034X-Vo for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61561] [PATCH 3/5] gnu: Add rust-mockall-double. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61561@debbugs.gnu.org Cc: Steve George Received: via spool by 61561-submit@debbugs.gnu.org id=B61561.167658850311734 (code B ref 61561); Thu, 16 Feb 2023 23:02:02 +0000 Received: (at 61561) by debbugs.gnu.org; 16 Feb 2023 23:01:43 +0000 Received: from localhost ([127.0.0.1]:37947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnG2-00033A-QU for submit@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:43 -0500 Received: from mailtransmit04.runbox.com ([185.226.149.37]:42266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnFy-00032b-UO for 61561@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:40 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] 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 1pSnFt-002Dzy-2n for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:33 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnFs-000407-Qt for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:32 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnFl-0003K7-7o; Fri, 17 Feb 2023 00:01:25 +0100 From: Steve George Date: Thu, 16 Feb 2023 23:01:01 +0000 Message-Id: <20230216230103.107367-3-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216230103.107367-1-steve@futurile.net> References: <20230216230103.107367-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 (rust-mockall-double-0.3): New variable. --- 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 180b0838a9..42137b6853 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33735,6 +33735,31 @@ (define-public rust-miow-0.2 #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-mockall-double-0.3 + (package + (name "rust-mockall-double") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "mockall-double" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xk6hjr7m73zly4hg3zmma437vqvrwnjxy2wfxy1hxbk52xwfwdf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Double test adapter that works well with Mockall") + (description + "This crate makes it even easier to use mocking by providing a way to +select the mock struct at compile time. Used with the Mockall crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-model-0.1 (package (name "rust-model") From patchwork Thu Feb 16 23:01:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47021 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 6AE8416937; Thu, 16 Feb 2023 23:03:16 +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 96BCA16919 for ; Thu, 16 Feb 2023 23:03:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnGO-0001qx-VM; Thu, 16 Feb 2023 18:02:04 -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 1pSnGM-0001qH-TL for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -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 1pSnGM-0005Uc-LH for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnGM-00034Q-GV for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61561] [PATCH 4/5] gnu: Add rust-mockall-derive. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61561@debbugs.gnu.org Cc: Steve George Received: via spool by 61561-submit@debbugs.gnu.org id=B61561.167658849911717 (code B ref 61561); Thu, 16 Feb 2023 23:02:02 +0000 Received: (at 61561) by debbugs.gnu.org; 16 Feb 2023 23:01:39 +0000 Received: from localhost ([127.0.0.1]:37945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnFz-00032v-EL for submit@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:39 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:49678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnFy-00032Z-6y for 61561@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:38 -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 1pSnFs-002Gk3-Kw for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:32 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnFs-000402-Bv for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:32 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnFo-0003KE-Cc; Fri, 17 Feb 2023 00:01:28 +0100 From: Steve George Date: Thu, 16 Feb 2023 23:01:02 +0000 Message-Id: <20230216230103.107367-4-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216230103.107367-1-steve@futurile.net> References: <20230216230103.107367-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 (rust-mockall-derive-0.11): New variable. --- * version 0.11.1 to match rust-mockall version gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 42137b6853..9ce18ea1f0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33760,6 +33760,32 @@ (define-public rust-mockall-double-0.3 select the mock struct at compile time. Used with the Mockall crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-mockall-derive-0.11 + (package + (name "rust-mockall-derive") + (version "0.11.1") ; match with the rust-mockall version + (source (origin + (method url-fetch) + (uri (crate-uri "mockall-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ixhmsrg5ky4b2jlvbxhlpr3mbv7frd6wr8msm005vijb5rmcb96")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #f + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Procedural macros for the Mockall crate") + (description "Procedural macros for the Mockall crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-model-0.1 (package (name "rust-model") From patchwork Thu Feb 16 23:01:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47019 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 E75C616934; Thu, 16 Feb 2023 23:02:19 +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=unavailable 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 832C716919 for ; Thu, 16 Feb 2023 23:02:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnGP-0001rP-Qr; Thu, 16 Feb 2023 18:02:05 -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 1pSnGN-0001qL-PA for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:04 -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 1pSnGN-0005Up-HZ for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnGN-00034e-DP for guix-patches@gnu.org; Thu, 16 Feb 2023 18:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61561] [PATCH 5/5] gnu: Add rust-mockall. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Feb 2023 23:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61561 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 61561@debbugs.gnu.org Cc: Steve George Received: via spool by 61561-submit@debbugs.gnu.org id=B61561.167658851411772 (code B ref 61561); Thu, 16 Feb 2023 23:02:03 +0000 Received: (at 61561) by debbugs.gnu.org; 16 Feb 2023 23:01:54 +0000 Received: from localhost ([127.0.0.1]:37951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnGE-00033i-4i for submit@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:54 -0500 Received: from mailtransmit04.runbox.com ([185.226.149.37]:51468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnGC-00033O-79 for 61561@debbugs.gnu.org; Thu, 16 Feb 2023 18:01:52 -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 1pSnG6-002E3h-LM for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:46 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnG6-0006yd-DB for 61561@debbugs.gnu.org; Fri, 17 Feb 2023 00:01:46 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnFr-0003ZY-Gn; Fri, 17 Feb 2023 00:01:31 +0100 From: Steve George Date: Thu, 16 Feb 2023 23:01:03 +0000 Message-Id: <20230216230103.107367-5-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216230103.107367-1-steve@futurile.net> References: <20230216230103.107367-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 (rust-mockall-0.11): New variable. --- gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9ce18ea1f0..cb19edaf83 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33760,6 +33760,42 @@ (define-public rust-mockall-double-0.3 select the mock struct at compile time. Used with the Mockall crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-mockall-0.11 + (package + (name "rust-mockall") + (version "0.11.1") + (source (origin + (method url-fetch) + (uri (crate-uri "mockall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k3g3xxf195vsnzmwza047dv89zlg6h5yj5774wjlndgpdvf8han")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-downcast" ,rust-downcast-0.11) + ("rust-fragile" ,rust-fragile-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-mockall-derive" ,rust-mockall-derive-0.11) + ("rust-predicates" ,rust-predicates-2) + ("rust-predicates-tree" ,rust-predicates-tree-1)) + #:cargo-development-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-mockall-double" ,rust-mockall-double-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Powerful mock object library for Rust") + (description "Mockall is a rich mocking library with a terse and ergonomic +interface. It is written in 100% safe and stable Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mockall-derive-0.11 (package (name "rust-mockall-derive")