futurile pushed a commit to branch rust-team
in repository guix.

commit 41cd9843bbbe0b42ed97b1e57defce797b0d69ca
Author: Steve George <st...@futurile.net>
AuthorDate: Fri Mar 28 08:40:28 2025 +0000

    gnu: Add rust-wasmtime-component-macro-24.
    
    * gnu/packages/crates-io.scm (rust-wasmtime-component-macro-24): New 
variable.
    
    Change-Id: Iaad4e688aed7cb532f1e0e87ab7c54cf567c7329
    Signed-off-by: Steve George <st...@futurile.net>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c0725dd8d..49a411eb1d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -95121,6 +95121,34 @@ format to the text format.")
      "Provides macros for deriving component interface types from Rust types.")
     (license (list license:asl2.0))))
 
+(define-public rust-wasmtime-component-macro-24
+  (package
+    (inherit rust-wasmtime-component-macro-25)
+    (name "rust-wasmtime-component-macro")
+    (version "24.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-component-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cnsip3cqlln4ks852ibjrksbqmklmlanc4qk916wn49sdr2bdvl"))))
+    (arguments
+     `(#:tests? #f      ; undeclared crate `wasmtime`
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-wasmtime-component-util" 
,rust-wasmtime-component-util-24)
+                       ("rust-wasmtime-wit-bindgen" 
,rust-wasmtime-wit-bindgen-24)
+                       ("rust-wit-parser" ,rust-wit-parser-0.215))
+       #:cargo-development-inputs
+         (("rust-prettyplease" ,rust-prettyplease-0.2)
+          ("rust-serde" ,rust-serde-1)
+          ("rust-serde-json" ,rust-serde-json-1)
+          ("rust-similar" ,rust-similar-2)
+          ("rust-tracing" ,rust-tracing-0.1))))))
+
 (define-public rust-wasmtime-component-util-25
   (package
     (name "rust-wasmtime-component-util")

Reply via email to