guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

30/330: gnu: Add rust-wasm-encoder-0.38.


From: guix-commits
Subject: 30/330: gnu: Add rust-wasm-encoder-0.38.
Date: Mon, 18 Mar 2024 07:15:00 -0400 (EDT)

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

commit 09b54564529ab66ceffc2c2eeef9609f85b057b4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 11:05:27 2024 +0200

    gnu: Add rust-wasm-encoder-0.38.
    
    * gnu/packages/crates-io.scm (rust-wasm-encoder-0.38): New variable.
    
    Change-Id: I65ed0c765de80d25f63fb6710ad9af8f9896632a
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8c1861c955..f2c4c76319 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78386,6 +78386,31 @@ 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.38
+  (package
+    (name "rust-wasm-encoder")
+    (version "0.38.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasm-encoder" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gwzfwals53swmp18n4mwaqx9jldrgy4647xw97pz76yhhcbblha"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; unresolved import `wasmparser`
+       #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2)
+                       ("rust-wasmparser" ,rust-wasmparser-0.118))
+       #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (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 license:asl2.0)))
+
 (define-public rust-wasm-streams-0.3
   (package
     (name "rust-wasm-streams")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]