From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6HboJqZPA2RHIAEAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 15:03:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QHkHJqZPA2R2GgAAG6o9tA (envelope-from ) for ; Sat, 04 Mar 2023 15:03:18 +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 4A39335932 for ; Sat, 4 Mar 2023 15:03:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=nfE52Upa; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677938598; 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=01jUDF3u5LxfUe2g42N8EoJWyft/FKhDc6Eeb8wiomY=; b=eERxIGb1HHZI7pwb/Ftl0mYu0Pe2OgPJ69q9qg6B4chP8918IlzBkwNqr6e61WYfyPoa1B byhrmUJIg5UhFVAdq/mRFmPRzce7qSoR3kiLFqgtVHf+gGBn2gmwn69oOsEtxLsdjXM9iW Qf7FIROSB84zY3+NDLGnNd6mKV92zGV0hy7vsH7y4aewouZnUKQPjl2mA6T6Z/jQ//WlBa RdsDkk/kodrtw6mUYj0lTfX1BBU/3do28Bt+8NbIMOgczABqCiiXZzHRKb+UUhz0jhRRXg oc0mcTnZ6Emde+FQkXNxBSE3Q1IGRbaS4Yu7URxGUd4+OSwETpVsA+BSHkM1UA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=adriaan.se header.s=soverin header.b=nfE52Upa; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677938598; a=rsa-sha256; cv=none; b=Q9q0ePPSTrhSckAWvr1oQM+Led4C9d7LCRqHnmdW5Lx8rYJYKMcMLA66bmnp1CnrXgDZ2O SXCOkCQGBbj5VU+d1fPm9KhtSSH14oNo1tjvPCHRG6dSwDPck7Daut50d2/FMx7affma4B EPYQs0obSuxdqnjvbq5BQ1kvKX10eTQ7ntBmEUYhX104gSKG5ZgNpc9fRwmjxM5RU/ir6d UePLizZmfw7RvEDvRUBm8R7QQvNYc6r4Mugl0DoxwWYBJXpxRwZGdzbAnM9Io1rpzITRtc fQXwqbw9GtWrytOSWvLacsBtyT+dbNWkiB4x5mi3zux0Eg6ygUgGlXpZwGep5A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYSSj-00052p-9C; Sat, 04 Mar 2023 09:02:13 -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 1pYSSZ-00050N-FM for guix-patches@gnu.org; Sat, 04 Mar 2023 09:02:07 -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 1pYSSZ-0001sK-5k for guix-patches@gnu.org; Sat, 04 Mar 2023 09:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYSSY-0000or-WC for guix-patches@gnu.org; Sat, 04 Mar 2023 09:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61958] [PATCH 13/32] gnu: Add rust-criterion-0.4. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Mar 2023 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61958@debbugs.gnu.org Cc: Arjan Adriaanse Received: via spool by 61958-submit@debbugs.gnu.org id=B61958.16779384822997 (code B ref 61958); Sat, 04 Mar 2023 14:02:02 +0000 Received: (at 61958) by debbugs.gnu.org; 4 Mar 2023 14:01:22 +0000 Received: from localhost ([127.0.0.1]:35532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSRu-0000mD-6c for submit@debbugs.gnu.org; Sat, 04 Mar 2023 09:01:22 -0500 Received: from dane.soverin.net ([185.233.34.149]:42329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYSRt-0000lb-90 for 61958@debbugs.gnu.org; Sat, 04 Mar 2023 09:01:21 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4PTRMb6T2JzylJ; Sat, 4 Mar 2023 14:01:15 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4PTRMZ3ZCzz4N; Sat, 4 Mar 2023 14:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1677938475; bh=Q2bn0NYZzDeVeWhGdQZ87HRdE9Sj+YFlo/rU6avdxro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nfE52UpalEDkqaaegatz6327xNV5Ytfo7vUNwxajg3EHuBXUrlPA8eEugUSHMg9kc BhyqHq4exDl6Ymosjgi2efm6zglBMR+TJm4aiyZrE6S30Q4+DvFs0r3+nk69Ji7inu Bp9FioxXibWna/ZM5rpfYyvJZaaNyXZVGXp7LmOEGNavTIRHnZL7pFpx6NvTCIsk2d PzPzmpmvhWsyriK4YhySPoWF14Rotbc/A+yG2zH5en8Jifu4127GXs+4Jp54yGKhGo T0t01c54Sr2QTG6iUOKUnnKCGE//LgheI1XU/V6AvWKzEQ2vK0t5K7pRFP+/7Af3DC qLg+bGwT9qlgQ== X-Soverin-Authenticated: true From: Arjan Adriaanse Date: Sat, 4 Mar 2023 15:00:55 +0100 Message-Id: <12fe6596576f99b12e7c2c8f972909c195fb0787.1677936691.git.arjan@adriaan.se> 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: X-Migadu-Spam-Score: -1.30 X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 4A39335932 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: yj3bBCkg6v3p * gnu/packages/crates-io.scm (rust-criterion-0.4): New variable. (rust-criterion-0.3): Inherit from above. --- gnu/packages/crates-io.scm | 58 +++++++++++++++++++++++++++++++++----- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 00e5047cfc..affee8fdf1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13398,8 +13398,58 @@ (define-public rust-crc64-1 Rust.") (license license:bsd-3))) +(define-public rust-criterion-0.4 + (package + (name "rust-criterion") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jsl4r0yc3fpkyjbi8aa1jrm69apqq9rxwnjnd9brqmaq44nxiz7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anes" ,rust-anes-0.1) + ("rust-async-std" ,rust-async-std-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-cast" ,rust-cast-0.3) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-clap" ,rust-clap-3) + ("rust-criterion-plot" ,rust-criterion-plot-0.5) + ("rust-csv" ,rust-csv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oorandom" ,rust-oorandom-11.1) + ("rust-plotters" ,rust-plotters-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smol" ,rust-smol-1) + ("rust-tinytemplate" ,rust-tinytemplate-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://bheisler.github.io/criterion.rs/book/index.html") + (synopsis "Statistics-driven micro-benchmarking library") + (description + "This package provides a statistics-driven micro-benchmarking library.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-criterion-0.3 (package + (inherit rust-criterion-0.4) (name "rust-criterion") (version "0.3.5") (source @@ -13410,7 +13460,6 @@ (define-public rust-criterion-0.3 (string-append name "-" version ".tar.gz")) (sha256 (base32 "044d2x7cxfvw2g558lzyllcv7jcdkw9xmacmb0nzx8pv4pyxl10n")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) @@ -13440,12 +13489,7 @@ (define-public rust-criterion-0.3 ("rust-futures" ,rust-futures-0.3) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://bheisler.github.io/criterion.rs/book/index.html") - (synopsis "Statistics-driven micro-benchmarking library") - (description - "This package provides a statistics-driven micro-benchmarking library.") - (license (list license:asl2.0 license:expat)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-criterion-0.2 (package -- 2.39.1