summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-04 12:49:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-12 11:57:22 +0300
commit242668bdbda579b34ce8a80852a58f4bc4e2d01d (patch)
tree7dead28dc713643a9bee2b7db21ff6835ccb61f0 /gnu
parent060958949a894f3205523fe9e1f5b5e6bde105de (diff)
downloadpatches-242668bdbda579b34ce8a80852a58f4bc4e2d01d.tar
patches-242668bdbda579b34ce8a80852a58f4bc4e2d01d.tar.gz
gnu: Add rust-bencher.
* gnu/packages/crates-io.scm (rust-bencher): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d4160b6a7f..bf21497997 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49,6 +49,28 @@ support.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-bencher
+ (package
+ (name "rust-bencher")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bencher" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1x8p2xblgqssay8cdykp5pkfc0np0jk5bs5cx4f5av097aav9zbx"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/bluss/bencher/")
+ (synopsis "Port of the libtest benchmark runner to Rust stable")
+ (description "This package provides a port of the libtest (unstable Rust)
+benchmark runner to Rust stable releases. Supports running benchmarks and
+filtering based on the name. Benchmark execution works exactly the same way
+and no more (caveat: black_box is still missing!).")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-proc-macro2
(package
(name "rust-proc-macro2")