Subject: [bug#75677] [PATCH rust-team v2 15/81] gnu: rust-iai-callgrind-runner-0.14: New variable.

From: Aaron Covrig <[email-masked]>
Date: Fri, 7 Mar 2025 22:33:21 -0500

* gnu/packages/crates-io.scm (rust-iai-callgrind-runner-0.14): New variable.
---
 gnu/packages/crates-io.scm | 52 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6013af758..2003dc6911 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33238,6 +33238,58 @@ (define-public rust-iai-0.1
     (description "One-shot benchmarking library.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-iai-callgrind-runner-0.14
+  (package
+    (name "rust-iai-callgrind-runner")
+    (version "0.14.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "iai-callgrind-runner" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1f5h782gjz5aj20b8a1ldzlh5vi7ylc5p2rjbas175clwigxjbd0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;; Broken tests
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-bincode" ,rust-bincode-1)
+                       ("rust-cargo-metadata" ,rust-cargo-metadata-0.18)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-colored" ,rust-colored-2)
+                       ("rust-derive-more" ,rust-derive-more-1)
+                       ("rust-env-logger" ,rust-env-logger-0.11)
+                       ("rust-glob" ,rust-glob-0.3)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-inferno" ,rust-inferno-0.11)
+                       ("rust-itertools" ,rust-itertools-0.13)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-sanitize-filename" ,rust-sanitize-filename-0.5)
+                       ("rust-schemars" ,rust-schemars-0.8)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-serde-regex" ,rust-serde-regex-1)
+                       ("rust-shlex" ,rust-shlex-1)
+                       ("rust-tempfile" ,rust-tempfile-3)
+                       ("rust-version-compare" ,rust-version-compare-0.2)
+                       ("rust-which" ,rust-which-6))
+       #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+                                   ("rust-rstest" ,rust-rstest-0.23)
+                                   ("rust-serde-yaml" ,rust-serde-yaml-0.9)
+                                   ("rust-serial-test" ,rust-serial-test-3)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/iai-callgrind/iai-callgrind")
+    (synopsis "Binary package needed by the iai-callgrind library")
+    (description
+     "Iai-Callgrind is a benchmarking harness that uses Callgrind to perform
+extremely precise measurements of Rust code.
+
+This is the benchmark binary needed by the
+@url{https://crates.io/crates/iai-callgrind, Iai-callgrind library}.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-iai-macro-0.1
   (package
     (name "rust-iai-macro")
-- 
2.48.1