futurile pushed a commit to branch rust-team
in repository guix.
commit fa992ef5b2062c6e1df8f1081d7703d3c9db3ad3
Author: Steve George <[email protected]>
AuthorDate: Sun Mar 23 13:11:20 2025 +0000
gnu: Add rust-wat-1.
* gnu/packages/crates-io.scm (rust-wat-1): New variable.
Change-Id: Idf9551c467946e79557f1fb244a9e681dece07ed
Signed-off-by: Steve George <[email protected]>
---
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 60fb7d87a9..233814fd7a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93883,6 +93883,28 @@ format to the text format.")
@code{WebAssembly} Text formats WAT and WAST.")
(license (list license:asl2.0 license:asl2.0 license:expat))))
+(define-public rust-wat-1
+ (package
+ (name "rust-wat")
+ (version "1.226.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wat" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10b5jvlj33m8njjcfd1h7jwnjzvsz85h415pnasvh0f4y87ak2az"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-wast" ,rust-wast-226))))
+ (home-page
+ "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat")
+ (synopsis "Rust parser for the WebAssembly Text format, WAT")
+ (description
+ "This package provides a parser for the
+@acronym{WAT, WebAssembly Text format}.")
+ (license (list license:asl2.0 license:asl2.0 license:expat))))
+
(define-public rust-watchexec-2
(package
(name "rust-watchexec")