[bug#75677,rust-team,v2,29/81] gnu: rust-iai-callgrind-macros-0.2: New variable.

Message ID 20250308033446.2101481-30-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted package updates for rust-team |

Commit Message

Aaron Covrig March 8, 2025, 3:33 a.m. UTC
  * gnu/packages/crates-io.scm (rust-iai-callgrind-macros-0.2): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65595b06d3..a9fac44b02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33392,6 +33392,26 @@  (define-public rust-iai-callgrind-macros-0.5
 @url{https://crates.io/crates/iai-callgrind, Iai-callgrind library}.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-iai-callgrind-macros-0.2
+  (package
+    (inherit rust-iai-callgrind-macros-0.5)
+    (name "rust-iai-callgrind-macros")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "iai-callgrind-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mid4pxc2a9k1bfjqg2k7yi8vg9fyl5gg9pwijic14jm48wvp972"))))
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro-error" ,rust-proc-macro-error-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
+
 (define-public rust-iai-callgrind-runner-0.14
   (package
     (name "rust-iai-callgrind-runner")