Subject: [bug#76513] [PATCH rust-team v2 73/77] gnu: Add rust-wasmparser-0.221.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:51:23 -0500

* gnu/packages/crates-io.scm (rust-wasmparser-0.221): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2bd4bcc48f..0aaea419e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93962,6 +93962,34 @@ (define-public rust-wasmi-ir-0.40
      "This package provides @code{WebAssembly} interpreter internal bytecode representation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-wasmparser-0.221
+  (package
+    (name "rust-wasmparser")
+    (version "0.221.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmparser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11ficyz79dcypkxxg1c8vl8bm0avg8a80csnxq6vxhismcvglsyh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-hashbrown" ,rust-hashbrown-0.15)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page
+     "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser")
+    (synopsis
+     "simple event-driven library for parsing WebAssembly binary files.")
+    (description
+     "This package provides a simple event-driven library for parsing
+@code{WebAssembly} binary files.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-wasmparser-0.218
   (package
     (name "rust-wasmparser")
-- 
2.48.1