Subject: [bug#70146] [PATCH 049/147] gnu: Add rust-wasm-encoder-0.41.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:04:01 +0200

* gnu/packages/crates-io.scm (rust-wasm-encoder-0.41): New variable.

Change-Id: I80e817c9acd02f7d33927e0356484732e88c4b9d
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e1cea7679..c4c3e9074f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77842,6 +77842,23 @@ (define-public rust-wasm-encoder-0.201
     ;; With LLVM exception.
     (license license:asl2.0)))
 
+(define-public rust-wasm-encoder-0.41
+  (package
+    (inherit rust-wasm-encoder-0.201)
+    (name "rust-wasm-encoder")
+    (version "0.41.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasm-encoder" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bl7a871fw3dwrii2swqcn9x1g4hi8c98dfjvs6r13riv2jrfbwp"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2)
+                       ("rust-wasmparser" ,rust-wasmparser-0.121))))))
+
 (define-public rust-wasm-streams-0.3
   (package
     (name "rust-wasm-streams")
-- 
2.41.0