gnu: Add rust-criterion-plot-0.4.

* gnu/packages/crates-io.scm (rust-criterion-plot-0.4): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Valentin Ignatev 2020-01-18 23:11:42 +03:00 committed by Efraim Flashner
parent ab5c5e625b
commit 722e5f8476
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2234,6 +2234,33 @@ (define-public rust-criterion-0.2
"Statistics-driven micro-benchmarking library.") "Statistics-driven micro-benchmarking library.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-criterion-plot-0.4
(package
(name "rust-criterion-plot")
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "criterion-plot" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0id5sfww0hjxlzvkzacdlgbls3lxza8iysqljr7j7s2qxbh1a7m0"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cast" ,rust-cast-0.2)
("rust-itertools" ,rust-itertools-0.8))
#:cargo-development-inputs
(("rust-itertools-num" ,rust-itertools-num-0.1)
("rust-num-complex" ,rust-num-complex-0.2)
("rust-rand" ,rust-rand-0.4))))
(home-page "https://github.com/bheisler/criterion.rs")
(synopsis "Criterion's plotting library")
(description "This package provides criterion's plotting library.")
(license (list license:expat license:asl2.0))))
(define-public rust-criterion-plot-0.3 (define-public rust-criterion-plot-0.3
(package (package
(name "rust-criterion-plot") (name "rust-criterion-plot")