From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QBSfDDhogmUNxQAAkFu2QA (envelope-from ) for ; Wed, 20 Dec 2023 05:06:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MIkmBzhogmWGhgAAe85BDQ (envelope-from ) for ; Wed, 20 Dec 2023 05:06:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=iGYRgg7l; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703045176; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6EuO1dUUfyve9H2r4OUrzWFNJCKblWr31EqWPrhMTxU=; b=uoS96f3qNGPL98sCl3ZecMyY/HAW3cUaX5d0TmjjVuhGbSO96+lkO4uUO0oY0akdbiDpxr MeAvaGnr2x0ruf/GjO7PcfVooyYy1dSWKBfLDtU2TmRUWYw6CLGQzTInbgX4xPKUlQbqZK xWxS8RWr/2vzmTrnUaYgWJOWuO2KGAXx3n1d8L1iTTZID/pBGe44MUkfFPWiHQBOzEZvV1 ZQTYfsz28uuX1uLNGlt/XwuPO6lIdphuFdOZoe1bgeXSQvHmUdHhnAfbVPbyJZPlOJEOaN 9a/olHLZ4dYLX76AO/hFHv6iHa/HZTbVj0+s6UTVurwHcqOjEmyhTegX82uZzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703045176; a=rsa-sha256; cv=none; b=sdG4q8P5megdIVE6w/D+m+nAeiPcbwxBHquGIDvoFdoVJF4BshqepN61aS4a61T9o0JvyB 3SyUeVNINXvnvdeD702qbU6tyb78qK32iw6ZZIpOxdvRE/ehGd9LvVyP2GJoubuHfa+ut4 CSh8/E+/8tUr0pn6AwcxJ+P9IgmpQxcgV75yjX5+13xdtrDdtJrWBh+Fqh6SrFoemqBaYy 5WjDCv2zgtU0xwKtChlgSiUHnRwImXPibdX5GD518lj7OXkJidSrkYWjfv3cL6bTavgxdC SZwovOS4lnIdHJF6Q294hRdfWI0wDdtrTg9zhfxD7BuwsIn/tjkddijn0/+GgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=iGYRgg7l; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D43E41D5A4 for ; Wed, 20 Dec 2023 05:06:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnqQ-00029i-QG; Tue, 19 Dec 2023 23:06: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 1rFnqK-000295-7P for guix-patches@gnu.org; Tue, 19 Dec 2023 23:06:03 -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 1rFnqI-00067s-Vw for guix-patches@gnu.org; Tue, 19 Dec 2023 23:05:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnqL-0004gD-U0; Tue, 19 Dec 2023 23:06:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 22/55] gnu: Add rust-rstest-macros-0.18. 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:06:01 +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.170304511817913 (code B ref 67919); Wed, 20 Dec 2023 04:06:01 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:05:18 +0000 Received: from localhost ([127.0.0.1]:38234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnpe-0004ep-9Z for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:05:18 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:36758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnpb-0004eY-50 for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:05:16 -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 1rFnpS-00FPvX-Fu for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:05: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=6EuO1dUUfyve9H2r4OUrzWFNJCKblWr31EqWPrhMTxU=; b=iGYRgg7l3UfVApN/lP9lYM3cpq yYkMb5kkPrI4E2Crg1dO3n8XAhHzTtnGXecPlM+tjaZGSnQrVU58mxR5Jw3ZKyPTPT9nCjO/SgkJn DeV/vDjek1MqWguandajhlmdQlqAW2gg37RGhUD99DF+oZ/Mv0Vh3eKKxA3OSbY8bSHh8Lx3Dt77c WxDU/HzeBVob3hOm1DSftG4mjtgJPfUmrGI7ATnczDn+/uVZElK6tdP6d8UGO/ZOG7YxDOwiGP7j1 YM7uElUiisL15G95CYo30QC9BkpSHmPJtQwDxjlpf7IC4v6nzVOef7p7XjdwEahVspHKZ3ywnCB7H lleF/8xg==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnpI-0003wE-6i for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:04: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 1rFnp2-0066Gp-4Y; Wed, 20 Dec 2023 05:04:40 +0100 Date: Tue, 19 Dec 2023 22:54:44 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Jaeme Sifat via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.32 X-Spam-Score: -6.32 X-Migadu-Queue-Id: D43E41D5A4 X-Migadu-Scanner: mx12.migadu.com X-TUID: lUSafyi62ZYu The dependency graph for rstest is not required. * gnu/packages/crates-io.scm (rust-rstest-macros-0.18): New variable. * gnu/packages/crates-io.scm (rust-rstest-macros-0.16): Remove build step. Change-Id: I3dad2b73c27a4cf575698ca9e32715718667be81 --- gnu/packages/crates-io.scm | 89 ++++++++++++++++++++++++++------------ 1 file changed, 62 insertions(+), 27 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 888fd80bd6..4c2cde2b02 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63958,8 +63958,39 @@ (define-public rust-rstest-0.6 (base32 "0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y")))))) +(define-public rust-rstest-macros-0.18 + (package + (name "rust-rstest-macros") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01g6rg60snmscipc9xiili7nsn0v25sv64713gp99y2jg0jgha6l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Procedural macros for @code{rstest}.") + (description + "This package provides the procedural macro crate for +@code{rstest}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rstest-macros-0.16 (package + (inherit rust-rstest-macros-0.18) (name "rust-rstest-macros") (version "0.16.0") (source @@ -63969,31 +64000,15 @@ (define-public rust-rstest-macros-0.16 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xzrgwjih87myghqzm9ncqm0449y2sf4migz6x7yc1h7mq2vaabj")))) - (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=rstest (line 740)" - "--skip=rstest (line 764)") + `(#:skip-build? #t #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-1) - ("rust-unicode-ident" ,rust-unicode-ident-1)) - #:cargo-development-inputs - (("rust-actix-rt" ,rust-actix-rt-2) - ("rust-async-std" ,rust-async-std-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-rstest" ,rust-rstest-0.15) - ("rust-rstest-reuse" ,rust-rstest-reuse-0.4) - ("rust-rstest-test" ,rust-rstest-test-0.9)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Procedural macros for @code{rstest}.") - (description - "This package provides the procedural macro crate for -@code{rstest}.") - (license (list license:expat license:asl2.0)))) + ("rust-unicode-ident" ,rust-unicode-ident-1)))))) (define-public rust-rstest-macros-0.14 (package @@ -64037,8 +64052,36 @@ (define-public rust-rstest-macros-0.13 ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-rstest-reuse-0.6 + (package + (name "rust-rstest-reuse") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_reuse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "191l5gfwx9rmkqd48s85fkh21b73f38838fc896r4rxy39l0nlw8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-quote" ,rust-quote-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Reuse rstest attributes") + (description + "This package provides a Rust library for reusing rstest +attributes by creating a set of tests and applying it to every +scenario you want to test.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rstest-reuse-0.4 (package + (inherit rust-rstest-reuse-0.6) (name "rust-rstest-reuse") (version "0.4.0") (source (origin @@ -64048,20 +64091,12 @@ (define-public rust-rstest-reuse-0.4 (sha256 (base32 "05zcs22fbvv7q50p2xs6w13lqbcklddnj2dm1mz1wi2pak9sxdgr")))) - (build-system cargo-build-system) (arguments (list #:skip-build? #t #:cargo-inputs `(("rust-quote" ,rust-quote-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Reuse rstest attributes") - (description - "This package provides a Rust library for reusing rstest -attributes by creating a set of tests and applying it to every -scenario you want to test.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-rstest-reuse-0.3 (package -- 2.41.0