futurile pushed a commit to branch rust-team
in repository guix.
commit a7d1525c40d7f0818c707c8889cdb2b26c325f1d
Author: Steve George <[email protected]>
AuthorDate: Sun Mar 23 12:34:03 2025 +0000
gnu: Add rust-wasm-encoder-0.226.
* gnu/packages/crates-io.scm (rust-wasm-encoder-0.226): New variable.
Change-Id: I81b66a7e6e38941a238cc3eeceaa57cc817329f5
Signed-off-by: Steve George <[email protected]>
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 053b7907f6..f2a59902e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93480,6 +93480,33 @@ attribute that is not in the shared backend crate.")
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
("rust-quote" ,rust-quote-0.6))))))
+(define-public rust-wasm-encoder-0.226
+ (package
+ (name "rust-wasm-encoder")
+ (version "0.226.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wasm-encoder" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04sfinwlb83f6lm68i6hmiwnrrfl41s7ygp8vhkw5bhrfrr1pn7p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; use of undeclared crate `wasmparser`
+ #:cargo-inputs (("rust-leb128fmt" ,rust-leb128fmt-0.1)
+ ("rust-wasmparser" ,rust-wasmparser-0.226))
+ #:cargo-development-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-wasmprinter" ,rust-wasmprinter-0.226))))
+ (home-page
+
"https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder")
+ (synopsis "Low-level WebAssembly encoder")
+ (description
+ "This package provides a low-level @code{WebAssembly} encoder.")
+ (license (list license:asl2.0 license:asl2.0 license:expat))))
+
(define-public rust-wasm-encoder-0.217
(package
(name "rust-wasm-encoder")