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

commit 7f8712541cc02fc712261e284ce76e57448e5b52
Author: Steve George <[email protected]>
AuthorDate: Sun Mar 23 12:43:02 2025 +0000

    gnu: Add rust-wasmprinter-0.226.
    
    * gnu/packages/crates-io.scm (rust-wasmprinter-0.226): New variable.
    
    Change-Id: I08230270cc7f8c17425706ea444c4e1941690cfd
    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 bca4b53c7b..053b7907f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93752,6 +93752,33 @@ and native running processes.")
         (base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-wasmprinter-0.226
+  (package
+    (name "rust-wasmprinter")
+    (version "0.226.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmprinter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hndbcy362irxbchk57a78kmz1yrvxw6iwv1x1p7a0bcz8b0afkm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; use of undeclared crate `wat`
+       #:cargo-inputs
+         (("rust-anyhow" ,rust-anyhow-1)
+          ("rust-termcolor" ,rust-termcolor-1)
+          ("rust-wasmparser" ,rust-wasmparser-0.226))))
+    (home-page
+     
"https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmprinter";)
+    (synopsis
+     "Rust converter from the WebAssembly binary format to text")
+    (description
+     "This package provides a converter from the @code{WebAssembly} binary
+format to the text format.")
+    (license (list license:asl2.0 license:asl2.0 license:expat))))
+
 (define-public rust-wasmtime-types-25
   (package
     (name "rust-wasmtime-types")

Reply via email to