diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-16 19:51:05 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:44 +0530 |
commit | d45c78ad4c74fbdaac982f29daeff84e49e9dfef (patch) | |
tree | 79e6cb31f4ac5a0355fc1379d326a49e4f616fe3 | |
parent | 9b4a3be4f131f712b3e1fa43e1fef93e1f2689ae (diff) | |
download | guix-d45c78ad4c74fbdaac982f29daeff84e49e9dfef.tar.gz guix-d45c78ad4c74fbdaac982f29daeff84e49e9dfef.zip |
gnu: Add rust-criterion-cycles-per-byte-0.1.
* gnu/packages/crates-io.scm (rust-criterion-cycles-per-byte-0.1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d1420e3644..00d89e3f9a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4257,6 +4257,28 @@ to @code{is_x86_feature_detected}.") ("rust-rand" ,rust-rand-0.6) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-criterion-cycles-per-byte-0.1 + (package + (name "rust-criterion-cycles-per-byte") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion-cycles-per-byte" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15iw8zvyilx6k3a7z79vpzmpm6kkyds4c1ng3jlwfc43axd4hd4d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://crates.io/crates/criterion-cycles-per-byte") + (synopsis "Measure time with CPU cycles for criterion") + (description "This package lets you measure time with CPU cycles for +criterion.") + (license (list license:expat license:asl2.0)))) + (define-public rust-criterion-plot-0.4 (package (name "rust-criterion-plot") |