guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/188: gnu: Add rust-criterion-cycles-per-byte-0.1.


From: guix-commits
Subject: 47/188: gnu: Add rust-criterion-cycles-per-byte-0.1.
Date: Mon, 12 Oct 2020 02:24:47 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit d45c78ad4c74fbdaac982f29daeff84e49e9dfef
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 19:51:05 2020 +0530

    gnu: Add rust-criterion-cycles-per-byte-0.1.
    
    * gnu/packages/crates-io.scm (rust-criterion-cycles-per-byte-0.1): New 
variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1420e3..00d89e3 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]