Subject: [bug#70685] [PATCH 02/30] gnu: Add rust-benchmark-rs-0.1.

From: Wilko Meyer <[email-masked]>
Date: Wed, 1 May 2024 00:27:07 +0200

* gnu/packages/crates-io.scm (rust-benchmark-rs-0.1): New variable.

Change-Id: Ic7cc0a6a08a478816f1eee4463d86d91e72c883f
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd0c55f77b..d0ba421dd4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6008,6 +6008,31 @@ (define-public rust-bencher-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-benchmark-rs-0.1
+  (package
+    (name "rust-benchmark-rs")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "benchmark-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1njbzirn13f03wglvf1i26lnpjmliq9cfm9lwpfqqn2nnvpnml3r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-json" ,rust-json-0.12)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-statrs" ,rust-statrs-0.16))))
+    (home-page "https://www.navigatorsguild.io/")
+    (synopsis "Benchmarks for Rust libraries")
+    (description "This crate provides benchmarks for Rust libraries.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bigdecimal-0.4
   (package
     (name "rust-bigdecimal")
-- 
2.41.0