From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 gP4+Gq7KjWaQXgAA62LTzQ:P1 (envelope-from ) for ; Tue, 09 Jul 2024 23:41:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gP4+Gq7KjWaQXgAA62LTzQ (envelope-from ) for ; Wed, 10 Jul 2024 01:41:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=onKhvb9y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720568494; h=from:from:sender:sender: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=6FJkn3XZrWC7h6f6Mb2fAUg3PwamdHCWlBNqFWYhpJA=; b=OsrD6SBeC15cTihHUGlz/qP+rO/PLTnLuXkcUiA2eyDhOZ7z1g83Vr4q5Fg4o7KsihqV4e c8unXJTv1G29DJ6M0odb6mxk994HE6rrzqZz0uGqQ37pKvpkQCXAd60KYvr0eygggZmM4V BwFt4qK0dtcb3Bp4eqrxu9igTe1zwI2BPTZ0mOTi8fxXkL1lsRYUO1K11kvPrPtbFoY7Ie zbLL3VRPSUsnuNx4BDY3iBvuDeXt6zwr0LgidSaCiwOh8FEh2S/i3Z5YAF32rWvCYWOaGl +gVKXvAtITSuBPsRjc5qHGysVy2tKv8XFhovatRQljcTR+QRGruNWTfbJjz/Wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720568494; a=rsa-sha256; cv=none; b=N/cFxADK3QKZbanyDcqnFWcWxaM8EV1PvorZbptTe3B7KqqcMzn6NaNKA7PYrFQpc5PaUh vJnf81pWuFr0bbNoHbM30YfGZOpKjqEbvzjHJZmjo3DNb0bhJNuF+elCniK6km7+umj+tC Sck43u+A0r/HcclEMgV2PDKkiM7Cjmz5JvKMBdHjWwDaA0xX2Fq8An5X8B2yB1eZqlLNIm +sEuw72xzi+T3VSvkJp7vOk93sRqLdElSuas6ypcRQQxXmVFjLJJ6YTKwidxeS8w2hThYz kwR37BYm3jp3KdfgbpON5lZG1BbLPuciHQ2A3N+klN+hrOv9+bX3NnQ8ml2ZHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=wmeyer.eu header.s=mail header.b=onKhvb9y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=wmeyer.eu (policy=none); 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" 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 48BC5E3A0 for ; Wed, 10 Jul 2024 01:41:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRKRk-0007m4-Ea; Tue, 09 Jul 2024 19:40:32 -0400 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 1sRKRK-0007No-6s for guix-patches@gnu.org; Tue, 09 Jul 2024 19:40:06 -0400 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 1sRKRI-0007w5-4E for guix-patches@gnu.org; Tue, 09 Jul 2024 19:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRKRN-00026K-Qm; Tue, 09 Jul 2024 19:40:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72021] [PATCH 23/38] gnu: Add rust-test-strategy-0.3. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 23:40:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72021 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72021@debbugs.gnu.org Cc: Wilko Meyer , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 72021-submit@debbugs.gnu.org id=B72021.17205683657680 (code B ref 72021); Tue, 09 Jul 2024 23:40:09 +0000 Received: (at 72021) by debbugs.gnu.org; 9 Jul 2024 23:39:25 +0000 Received: from localhost ([127.0.0.1]:54365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQf-0001zh-DS for submit@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:25 -0400 Received: from mail.wmeyer.eu ([95.216.196.112]:42026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRKQV-0001um-K9 for 72021@debbugs.gnu.org; Tue, 09 Jul 2024 19:39:17 -0400 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1720568349; bh=6FJkn3XZrWC7h6f6Mb2fAUg3PwamdHCWlBNqFWYhpJA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=onKhvb9yC+0Qqi7wp6X139FlGKathG3fWn3pD7a6cRcCTZi+JyZ77iF3KUGppi8/A exN92YbvRq+/Cbl8BM9wBHmUpt42tKNE8+PVuLGYg6PURmhukEgV+y/cB12OFwDAXV 15XTVHHpxUCrlU9F7JMezpmYYapn6BmXTp3twZoA= Date: Wed, 10 Jul 2024 01:37:03 +0200 Message-ID: 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: , 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: -0.80 X-Spam-Score: -0.80 X-Migadu-Queue-Id: 48BC5E3A0 X-Migadu-Scanner: mx11.migadu.com X-TUID: d5AxDKV+Wtm7 * gnu/packages/crates-io.scm (rust-test-strategy-0.3): New variable. (rust-test-strategy-0.2): Inherit from rust-test-strategy-0.3. Change-Id: I787040a39e79e95de8557eabcd7d2038046a677c --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e6181312af..03e3e5ffc4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -79538,8 +79538,33 @@ (define-public rust-test-log-0.2 logging and/or tracing infrastructure before running tests.") (license (list license:asl2.0 license:expat)))) +(define-public rust-test-strategy-0.3 + (package + (name "rust-test-strategy") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "test-strategy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nf11267xdcflg1ir25na0s8mbrwh9f0zmzykg88l8jlhn01qdmq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-structmeta" ,rust-structmeta-0.2) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/frozenlib/test-strategy") + (synopsis "Macro to write higher-order strategies in proptest") + (description + "This package provides a procedural macro to easily write higher-order +strategies in proptest.") + (license (list license:expat license:asl2.0)))) + (define-public rust-test-strategy-0.2 (package + (inherit rust-test-strategy-0.3) (name "rust-test-strategy") (version "0.2.1") (source (origin @@ -79558,13 +79583,7 @@ (define-public rust-test-strategy-0.2 ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/frozenlib/test-strategy") - (synopsis "Macro to write higher-order strategies in proptest") - (description - "This package provides a procedural macro to easily write higher-order -strategies in proptest.") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-test-with-0.8 (package -- 2.41.0