From patchwork Thu Feb 16 22:57:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 47017 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 67B8816934; Thu, 16 Feb 2023 23:00:07 +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 A6A2816919 for ; Thu, 16 Feb 2023 23:00:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSnES-0001CK-KO; Thu, 16 Feb 2023 18:00: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 1pSnEQ-0001C4-Pc for guix-patches@gnu.org; Thu, 16 Feb 2023 18:00: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 1pSnEQ-00047n-EH for guix-patches@gnu.org; Thu, 16 Feb 2023 18:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSnEQ-0002yl-BK for guix-patches@gnu.org; Thu, 16 Feb 2023 18:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61562] [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:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61562 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61562@debbugs.gnu.org Cc: Efraim Flashner , Steve George X-Debbugs-Original-To: Guix patches list Received: via spool by submit@debbugs.gnu.org id=B.167658835011360 (code B ref -1); Thu, 16 Feb 2023 23:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2023 22:59:10 +0000 Received: from localhost ([127.0.0.1]:37936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnDZ-0002x9-H8 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:59:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:45574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSnDY-0002x2-0f for submit@debbugs.gnu.org; Thu, 16 Feb 2023 17:59:08 -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 1pSnDX-0000ji-On for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:07 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSnDW-0002l4-3Q for guix-patches@gnu.org; Thu, 16 Feb 2023 17:59:07 -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 1pSnDU-002GTF-O6; Thu, 16 Feb 2023 23:59:04 +0100 Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1pSnDU-0006lv-Bv; Thu, 16 Feb 2023 23:59:04 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1pSnD6-0005GK-VY; Thu, 16 Feb 2023 23:58:41 +0100 From: Steve George Date: Thu, 16 Feb 2023 22:57:41 +0000 Message-Id: <20230216225742.106916-4-steve@futurile.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216225742.106916-1-steve@futurile.net> References: <20230216225742.106916-1-steve@futurile.net> MIME-Version: 1.0 Received-SPF: permerror client-ip=2a0c:5a00:149::26; envelope-from=steve@futurile.net; helo=mailtransmit05.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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")