aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-18 23:15:12 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-22 23:39:27 +0200
commit537f2401e31024b5a7f8e6129988a4dae39d59aa (patch)
treeba7dd3e1a808e1d44de1ee4d1c7e8a90fa8ecaa9
parent46aa0825e74bc49417712bbf70b8c334a4391362 (diff)
downloadpatches-537f2401e31024b5a7f8e6129988a4dae39d59aa.tar
patches-537f2401e31024b5a7f8e6129988a4dae39d59aa.tar.gz
gnu: Add rust-criterion-0.3.
* gnu/packages/crates-io.scm (rust-criterion-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f276abd0b7..de13b30467 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2187,6 +2187,50 @@ intrinsics.")
"Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-criterion-0.3
+ (package
+ (name "rust-criterion")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "criterion" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1iig7r9c6bkn5qb6axxkblc1amif6k49lix35rhqs728cphh71wk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-cast" ,rust-cast-0.2)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-criterion-plot" ,rust-criterion-plot-0.4)
+ ("rust-csv" ,rust-csv-1.1)
+ ("rust-itertools" ,rust-itertools-0.8)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-rand-os" ,rust-rand-os-0.2)
+ ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.3)
+ ("rust-rayon" ,rust-rayon-1.1)
+ ("rust-serde" ,rust-serde-1.0)
+ ("rust-serde-derive" ,rust-serde-derive-1.0)
+ ("rust-serde-json" ,rust-serde-json-1.0)
+ ("rust-tinytemplate" ,rust-tinytemplate-1.0)
+ ("rust-walkdir" ,rust-walkdir-2.2))
+ #:cargo-development-inputs
+ (("rust-approx" ,rust-approx-0.3)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-tempdir" ,rust-tempdir-0.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.2
(package
(name "rust-criterion")