From patchwork Wed Dec 20 03:54:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57884 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 5A84E27BBEA; Wed, 20 Dec 2023 04:05: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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, TVD_SPACE_RATIO,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 BC50A27BBE2 for ; Wed, 20 Dec 2023 04:05:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnpP-0001nX-BI; Tue, 19 Dec 2023 23:05: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 1rFnpL-0001ma-OM for guix-patches@gnu.org; Tue, 19 Dec 2023 23:04:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFnpL-0005hF-Ed for guix-patches@gnu.org; Tue, 19 Dec 2023 23:04:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnpO-0004dq-Cn; Tue, 19 Dec 2023 23:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 18/55] gnu: Add rust-rstest-test-0.9. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 20 Dec 2023 04:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67919@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67919-submit@debbugs.gnu.org id=B67919.170304505717750 (code B ref 67919); Wed, 20 Dec 2023 04:05:02 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:04:17 +0000 Received: from localhost ([127.0.0.1]:38214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnoe-0004cE-Qi for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:04:17 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:54496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnod-0004c0-IR for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:04:16 -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 1rFnoU-00FIBG-TQ for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:04:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=12gzc7zZpc1vC/1FHhgfKjM5hjNvxDWm8P/CvztnUX0=; b=WFqlRmsf0ctizxCPR4bhc1rxM5 +jEHCODMEGgWscEJ23Nt2YYPpudMsu7l8/1EtJQQAU5zE67IR/GwT9rWOHEyllaByTxj0PBKQ0dso GdeF9cII9kMEpl6sQSDKOQnxPpOgqrc6OktzeytSjVLe686JkapTg0VxYFSN3WDZ7xEYPQLAksee5 ndMlTHUk6ER9nORGyOSLJU6710PDBRMH6i/m8YjiurJfdaw/052UX0JHmsKekjfjVvQGE//7NRyWW j3d6pfh9+XSU7LIf+lcRsdJhE+sQKFsd6Nr9qk82gjb7GFA7CuqV2rm57wQr5pcEQqq3qPZkwOvD6 GfsV68Jg==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnoJ-0003nq-Vx for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:03:56 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rFno0-0066Gp-Uc; Wed, 20 Dec 2023 05:03:37 +0100 Date: Tue, 19 Dec 2023 22:54:40 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat 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-rstest-test-0.9): New variable. Change-Id: I038d363026cfdbd58030c0cdce6e3b2f9b850936 --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2b15ce87d2..7178d48054 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64038,24 +64038,24 @@ (define-public rust-rstest-reuse-0.1 ("rust-rustc-version" ,rust-rustc-version-0.3) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-rstest-test-0.2 +(define-public rust-rstest-test-0.9 (package (name "rust-rstest-test") - (version "0.2.0") + (version "0.9.0") (source (origin (method url-fetch) (uri (crate-uri "rstest_test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bv429k1n9wspnds5w0bl6d49dfj1cx08gncjqjnp084v8q73d73")))) + (base32 "0bdy2pni88vh6m2w2mk0wj5hsgka4yslwv472wyfk6794ilgl203")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" "--skip=add_local_dependency" - "--skip=more_tests" "--skip=one_fail" - "--skip=one_success") - #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.1)) + `(#:tests? #f + #:cargo-inputs (("rust-regex" ,rust-regex-1) + ("rust-toml-edit" ,rust-toml-edit-0.15)) #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rstest" ,rust-rstest-0.15) ("rust-temp-testdir" ,rust-temp-testdir-0.2)))) (home-page "https://github.com/la10736/rstest") (synopsis "Provides some utilities used to write rstest crate's tests") @@ -64064,6 +64064,26 @@ (define-public rust-rstest-test-0.2 tests.") (license (list license:expat license:asl2.0)))) +(define-public rust-rstest-test-0.2 + (package + (inherit rust-rstest-test-0.9) + (name "rust-rstest-test") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bv429k1n9wspnds5w0bl6d49dfj1cx08gncjqjnp084v8q73d73")))) + (arguments + `(#:cargo-test-flags '("--release" "--" "--skip=add_local_dependency" + "--skip=more_tests" "--skip=one_fail" + "--skip=one_success") + #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.1)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-temp-testdir" ,rust-temp-testdir-0.2)))))) + (define-public rust-rug-1 (package (name "rust-rug")