From: Arjan Adriaanse <arjan@adriaan.se>
To: 61958@debbugs.gnu.org
Cc: Arjan Adriaanse <arjan@adriaan.se>
Subject: [bug#61958] [PATCH 13/32] gnu: Add rust-criterion-0.4.
Date: Sat, 4 Mar 2023 15:00:55 +0100 [thread overview]
Message-ID: <12fe6596576f99b12e7c2c8f972909c195fb0787.1677936691.git.arjan@adriaan.se> (raw)
In-Reply-To: <cover.1677936690.git.arjan@adriaan.se>
* 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
next prev parent reply other threads:[~2023-03-04 14:03 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-04 13:50 [bug#61958] [PATCH 00/32] various Rust updates and additions Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 01/32] gnu: Add rust-block-padding-0.3 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 02/32] gnu: Add rust-inout-0.1 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 03/32] gnu: rust-typenum-1: Update to 1.16.0 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 04/32] gnu: rust-crypto-common-0.1: Update to 0.1.6 Arjan Adriaanse
2023-03-04 13:53 ` [bug#61958] [PATCH 05/32] gnu: Add rust-cipher-0.4 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 06/32] gnu: Add rust-aes-0.8 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 07/32] gnu: Add rust-anes-0.1 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 08/32] gnu: Add rust-rstest-0.11 Arjan Adriaanse
2023-03-04 13:54 ` [bug#61958] [PATCH 09/32] gnu: Add rust-ciborium-io-0.2 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 10/32] gnu: Add rust-ciborium-ll-0.2 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 11/32] gnu: Add rust-ciborium-0.2 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 12/32] gnu: Add rust-criterion-plot-0.5 Arjan Adriaanse
2023-03-04 14:00 ` Arjan Adriaanse [this message]
2023-03-04 14:00 ` [bug#61958] [PATCH 14/32] gnu: rust-rand-0.8: Update to 0.8.5 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 15/32] gnu: Add rust-rstest-0.12 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 16/32] gnu: Add rust-rstest-reuse-0.3 Arjan Adriaanse
2023-03-04 14:00 ` [bug#61958] [PATCH 17/32] gnu: Add rust-base64-0.21 Arjan Adriaanse
2023-03-04 14:01 ` [bug#61958] [PATCH 18/32] gnu: rust-serde-1: Update to 1.0.139 Arjan Adriaanse
2023-03-04 14:01 ` [bug#61958] [PATCH 19/32] gnu: rust-serde-derive-1: " Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 20/32] gnu: Add rust-basic-toml-0.1 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 21/32] gnu: rust-trybuild-1: Update to 1.0.77 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 22/32] gnu: rust-anyhow-1: Update to 1.0.69 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 23/32] gnu: rust-async-trait-0.1: Update to 0.1.64 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 24/32] gnu: Add rust-cbc-0.1 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 25/32] gnu: Add rust-windows-targets-0.42 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 26/32] gnu: Add rust-windows-sys-0.45 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 27/32] gnu: Add rust-linux-raw-sys-0.1 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 28/32] gnu: rust-os-pipe-1: Update to 1.1.3 Arjan Adriaanse
2023-03-04 14:06 ` [bug#61958] [PATCH 29/32] gnu: Add rust-io-lifetimes-1 Arjan Adriaanse
2023-03-04 14:13 ` [bug#61958] [PATCH 30/32] gnu: Add rust-rustix-0.36 Arjan Adriaanse
2023-03-04 14:13 ` [bug#61958] [PATCH 31/32] gnu: Add rust-hermit-abi-0.3 Arjan Adriaanse
2023-03-04 14:13 ` [bug#61958] [PATCH 32/32] gnu: Add rust-is-terminal-0.4 Arjan Adriaanse
[not found] ` <handler.61958.B.16779379161834.ack@debbugs.gnu.org>
2023-03-04 16:30 ` [bug#61958] Acknowledgement ([PATCH 00/32] various Rust updates and additions) Arjan Adriaanse
2023-05-15 13:45 ` [bug#61958] (no subject) Tyler Wolf
2023-05-16 6:47 ` bug#61958: " Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12fe6596576f99b12e7c2c8f972909c195fb0787.1677936691.git.arjan@adriaan.se \
--to=arjan@adriaan.se \
--cc=61958@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.