From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oH5PD6+uhWP1SwAAbAwnHQ (envelope-from ) for ; Tue, 29 Nov 2022 08:03:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0I5LD6+uhWOuEwEA9RJhRA (envelope-from ) for ; Tue, 29 Nov 2022 08:03:11 +0100 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 CAC03139CC for ; Tue, 29 Nov 2022 08:03:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozud9-0002yJ-SZ; Tue, 29 Nov 2022 02:02:11 -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 1ozud6-0002wh-HB for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:09 -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 1ozud6-0003m5-5r for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozud6-0004pH-20 for guix-patches@gnu.org; Tue, 29 Nov 2022 02:02:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59670] [PATCH 11/50] gnu: Add rust-rstest-0.15. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Nov 2022 07:02:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59670@debbugs.gnu.org Cc: "\(" Received: via spool by 59670-submit@debbugs.gnu.org id=B59670.166970530118286 (code B ref 59670); Tue, 29 Nov 2022 07:02:08 +0000 Received: (at 59670) by debbugs.gnu.org; 29 Nov 2022 07:01:41 +0000 Received: from localhost ([127.0.0.1]:53692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozucf-0004km-7D for submit@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:41 -0500 Received: from knopi.disroot.org ([178.21.23.139]:53084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozucF-0004fW-FW for 59670@debbugs.gnu.org; Tue, 29 Nov 2022 02:01:17 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E07CE4143A; Tue, 29 Nov 2022 08:01:14 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DRMM5sG6KUFy; Tue, 29 Nov 2022 08:01:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1669705272; bh=lFBhA3TGhApYDwiOrIFb4qA+vRZKA3NyNbGGpqIhOLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AGLrtJrSLcr82h8ttTCpxhT2mJXxv769aQNMSVYG4yM/B4N5O2P2reFrOh6HUwwt0 9H6JSXUYYP04TARSSnZHlr5s9yk8oVJffr4IokckiI9ehea9BKP/R5sCPPMTDkqxlr dSTo+w2O5y93Ftzk8odivphTIiGpN+zYDxvDqQsRkEy7Wky/xnuZcuF2jqJeJie767 1nJ0m5oGC3J1ndM222wFEE8OIDXUru5UsDgYKuLuqJvfO6gSOle4qa8E6D/+ZhSaEQ T4TrzH+WN/PW9Vi9EsLxEgolRsPdaxyZd+ZcT7bOxS4CzSuDESEPw6BeyGAyO9rvxs JpvtzJj94svEA== Date: Tue, 29 Nov 2022 07:00:25 +0000 Message-Id: <20221129070104.8007-11-paren@disroot.org> In-Reply-To: <20221129070104.8007-1-paren@disroot.org> References: <20221129070104.8007-1-paren@disroot.org> 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: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669705390; 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=nYvvJYoJl9EMoDwVRnaFC6uXCVSlQhpTQkC9xJZmz2k=; b=Z5v1H3Cy5BaqZZWg9GO2695dAa7Z723xvFmDxkOD+haaBfyhKog9m5FLt+gC3hicNAU5iB wG23sUfLaVUgbBy7nQGy8YFq1IYSWwBIcLups+Py/zfJIwip3e/qjebQJUGnk+XG6d+dCY diixep8gxM8+dTXJXWVoP/9FzQRo3x9xIuTgZiWWxIor1xYnuRRgPTFJtL/p1trYaRbcAQ pmUVx0VUNcvh73D4m2m8pNK58agTmAGFH8d5umPgDIlTOBd9upXsCje/Co/Gruq0Vw7EWC aTzSa/sAoVbtQN5s5T3uinnYWPfOt680PFGwBlrNLcf5rltAcwVEcyNbz0HarQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669705390; a=rsa-sha256; cv=none; b=GrY1njLQW+bZ+u2KIKj/NI6vXMwj1Ux+8Ukr9Qmj+HYkRHhHfNQ+JGK5UOry8U5/gBt3IG Su90LF9jJ5pQoXGl7gjTVESw49KYbemXeZ9ab3QkGLaHZRBh2zlsamw9LmnEid8/SYYdII YGvRsV9h2mGLHbAltWXuuAN12JbxYOPOxQ2MnlCgL36A9Nxoqj3e1kux7EovDf+oQ8yKj3 ZGvH/jpSakW+Wp/9sdfwbUdrJSV86r0oCqiDQOJHVoLDyOkiI5rL0U/RjpuzhUR+PUm8DZ qH4dGSjGQeunADc36Tp2F8D8TRDrYBLgnELNaVgpkGPXBBglkQoIUMSSwlHLzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=AGLrtJrS; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=AGLrtJrS; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: CAC03139CC X-Spam-Score: -2.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: rQSIrN62jkbP * gnu/packages/crates-io.scm (rust-rstest-0.15): New variable. (rust-rstest-0.10): Inherit from RUST-RSTEST-0.15. (rust-rstest-0.6): Inherit from RUST-RSTEST-0.10. --- gnu/packages/crates-io.scm | 84 ++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3940bf9ed3..04083deeb5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46770,59 +46770,65 @@ (define-public rust-rstar-0.8 (base32 "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff")))))) -(define-public rust-rstest-0.6 +(define-public rust-rstest-0.15 (package (name "rust-rstest") - (version "0.6.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "rstest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil")))) + (version "0.15.0") + (source (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9")))) (build-system cargo-build-system) (arguments - `(#: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.3) - ("rust-syn" ,rust-syn-1)))) + (list #:skip-build? #t + #:cargo-inputs + `(("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.14) + ("rust-rustc-version" ,rust-rustc-version-0.3)))) (home-page "https://github.com/la10736/rstest") (synopsis "Rust fixture based test framework") (description - "rstest uses procedural macros to help you on writing fixtures and -table-based tests.") + "@code{rstest} uses procedural macros to help you write fixtures +and table-based tests.") (license (list license:expat license:asl2.0)))) (define-public rust-rstest-0.10 (package + (inherit rust-rstest-0.15) (name "rust-rstest") (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rstest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bwhy92fsqc05y8x9iyyq9sykinh0gxnl25zpdca3xhl5hhb06q4")))) - (build-system cargo-build-system) + (source (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bwhy92fsqc05y8x9iyyq9sykinh0gxnl25zpdca3xhl5hhb06q4")))) (arguments - `(#: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.3) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Rust fixture based test framework") - (description - "rstest uses procedural macros to help you on writing fixtures and -table-based tests.") - (license (list license:expat license:asl2.0)))) + (list #: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.3) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-rstest-0.6 + (package + (inherit rust-rstest-0.10) + (name "rust-rstest") + (version "0.6.5") + (source (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil")))))) (define-public rust-rstest-macros-0.14 (package -- 2.38.1