From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +AMfMCbVK2fuVgEAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:44:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +AMfMCbVK2fuVgEAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 21:44:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Oy64Fa9S; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EhgC4sk0; 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=1730925862; 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=DuIt0T0ixWNuYDQY599yK6qN96BnPuJSCyLEGusGdrs=; b=nSDkLD1a7i085rDfyYKVFtvbHdUF+JLAPrp5j+3hKB/glTy3T4FPpNgVJvNiyAC7RzRs1F acIwuZFispFUcldXlvEimLHch25lzf6ciyCgACafGe4jP1W6JqEqOLHH/WqZaAKvK1/+37 fh1xs0buuz3onMyoxU991S+2jQ1mDchf3NV98sXmpf2h9Cn8aH2IgYUDFQa9EJjgAjma65 Kda4eSvIfUq6sNnePlkIyIQojf2H+5ylz3A6cPRM6LgY4Xk9lzVeVMXDekmRB1VE6wqU8Y CrV7+3LXlc18hgCTHBF++kKlvaY1TRooRdlA8+RR/ZFhMa6fJKs3i36DVC9bDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Oy64Fa9S; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=EhgC4sk0; 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-Seal: i=1; s=key1; d=yhetil.org; t=1730925862; a=rsa-sha256; cv=none; b=M0F5crbvrkv25CqqwhHSqn3EPyT9F/gDeHqGMG36KvuCm9Vvl67elMO2S3QqsmHFZZIQik IkFdd1WT0QTjNCA6KC0vcUolJW+OQVST1BBLvHtDz1dYHrOif7h//1YgMYfolqyyYG0c4W jZYrD69+Y2PAK1aw1dRu0HBNhxj+AmTI74TU5hRvardGscCGY8MQ+3fisFjwK4NGBHQ4fb fiVrY/ymHmu6wXw4lNKuOsbG/OWALAXYwVaLA54KtRwramxkZbgOO2I2ORuWBVXeW6llVU nzZK7+OTB5fdnGtEbkCAc5QC2A4WiR3S1GPwZrhseuj64KxrGaYH+RWJ32hqkg== 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 8B08384122 for ; Wed, 06 Nov 2024 21:44:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8msy-0001Qm-7E; Wed, 06 Nov 2024 15:44:18 -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 1t8msm-0001IB-C4 for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:04 -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 1t8msm-0001IJ-3D for guix-patches@gnu.org; Wed, 06 Nov 2024 15:44:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=DuIt0T0ixWNuYDQY599yK6qN96BnPuJSCyLEGusGdrs=; b=Oy64Fa9SrE/wV2ZEKfFNQPi5WGmE8zTjD55XZ4KStYEQObDUx7DDVOLecXBdEFDsnyoSmfWEVpZtVVkhwagV3TvMUcqfpAbWmwYF80soJo81wRPZUMscwG9ymMfVd9HpfEbXDWaN/+issGYK4omlCZTjcBAsMg9GSGYfmnIyJGkUQ9sbNLZwi+wUGM/Np2+c1tS/xJMbiwVOYgg15iI+t7Y84Mw/de/rWkD9eTfEzo6htPTmM9bXqffEh1U8sZ6LCQYVCDY0ejmFSiHW3J9DDdtU6dkV7hNxVNcpnUz5CjtVJhG5opA0Q/E/luHO1i1pK1HyoJZdOml4dh8tQKN1Ww==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8msl-0003U5-SE; Wed, 06 Nov 2024 15:44:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74232] [PATCH rust-team 06/25] gnu: Add rust-flaky-test-0.2. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 20:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74232 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74232@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74232-submit@debbugs.gnu.org id=B74232.173092582013143 (code B ref 74232); Wed, 06 Nov 2024 20:44:03 +0000 Received: (at 74232) by debbugs.gnu.org; 6 Nov 2024 20:43:40 +0000 Received: from localhost ([127.0.0.1]:45789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msN-0003Pt-82 for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:39 -0500 Received: from confino.investici.org ([93.190.126.19]:52223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8msJ-0003Ow-6E for 74232@debbugs.gnu.org; Wed, 06 Nov 2024 15:43:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925815; bh=DuIt0T0ixWNuYDQY599yK6qN96BnPuJSCyLEGusGdrs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EhgC4sk0zTW6qZfJgX5MLjqvceC1HBltOcwkGIOZVpp+OgFp3aLPiqZh1H7sPsLDA dj1mQld8Dzbf5RShWgTd1a/d7Zmn/eJD2/qFhRbm+uqhLt12RoxHgRngC0Xtpp07Cn /UBHMxHZbFXUMg7Y5OsyBBSVFnMAChteP9AF6ZOs= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHGv09r2z10vS; Wed, 6 Nov 2024 20:43:35 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkHGt2dQhz10t7; Wed, 6 Nov 2024 20:43:34 +0000 (UTC) Date: Wed, 6 Nov 2024 21:42:52 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.org> References: <65269a0deca6af0c84975fffc88ed3525e6aa074.1730925790.git.goodoldpaul@autistici.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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.56 X-Spam-Score: 0.56 X-Migadu-Queue-Id: 8B08384122 X-TUID: mt4WC29t6moD rust-flaky-test-0.2 and rust-flaky-test-impl-0.2 are mutally dependents, so this patch introduces both instead of the usual pattern of one package per commit * gnu/packages/crates-io.scm (rust-flaky-test-0.2): New variable; (rust-flaky-test-impl-0.2): new variable; (rust-flaky-test-0.1): inherit from rust-flaky-test-0.2. Change-Id: I4d4aa0f79fe19290003b9100c98dd56fcb50b862 --- gnu/packages/crates-io.scm | 58 ++++++++++++++++++++++++++++++++++---- 1 file changed, 52 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 794afa90f8..1b67dc047d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -27506,29 +27506,75 @@ (define-public rust-flagset-0.4 enumeration-based bit flags in rust.") (license license:asl2.0))) -(define-public rust-flaky-test-0.1 +(define-public rust-flaky-test-impl-0.2 + (package + (name "rust-flaky-test-impl") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (crate-uri "flaky_test_impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1glshs6wa5n229d4abqzijssy4nslyaiw3xlwpd2ymghq84mkqw5")))) + (build-system cargo-build-system) + (arguments + ;; Tests fail with + ;; 3 | use flaky_test::flaky_test; + ;; | ^^^^^^^^^^ use of undeclared crate or module `flaky_test` + `(#:tests? #f + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-flaky-test" ,rust-flaky-test-0.2)))) + (home-page "https://github.com/denoland/flaky_test") + (synopsis "Implementation details of the @code{flaky_test} macro") + (description "This package provides mplementation details of the +@code{flaky_test} macro.") + (license license:expat))) + +(define-public rust-flaky-test-0.2 (package (name "rust-flaky-test") - (version "0.1.0") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "flaky_test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "14yvm0knhcx0xfwlykir2v198x5bpwf333yrdl2mmkv8n5gdx727")))) + "1nn8hddhl2vaxgfn0j87yrngr9bzlxlncgdd9vy53xyp4cgslv04")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + (("rust-flaky-test-impl" ,rust-flaky-test-impl-0.2) + ("rust-future-utils" ,rust-futures-util-0.3)))) (home-page "https://github.com/denoland/flaky_test") (synopsis "Atttribute macro for running a flaky test multiple times") (description "This package provides an atttribute macro for running a flaky test multiple times.") (license license:expat))) +(define-public rust-flaky-test-0.1 + (package + (inherit rust-flaky-test-0.2) + (name "rust-flaky-test") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "flaky_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14yvm0knhcx0xfwlykir2v198x5bpwf333yrdl2mmkv8n5gdx727")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-flame-0.2 (package (name "rust-flame") -- 2.46.0