Subject: [bug#70146] [PATCH 035/147] gnu: Add rust-wasmparser-0.121.

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

* gnu/packages/crates-io.scm (rust-wasmparser-0.121): New variable.
(rust-wasmparser-0.57): Inherit from rust-wasmparser-0.121.

Change-Id: I5a01591b618265a6e95d9e7ed2d1a29ca1937b26
---
 gnu/packages/crates-io.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d578ff54d..a2b44cac1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77832,10 +77832,27 @@ (define-public rust-wasmparser-0.201
     ;; With LLVM exception.
     (license license:asl2.0)))
 
+(define-public rust-wasmparser-0.121
+  (package
+    (inherit rust-wasmparser-0.201)
+    (name "rust-wasmparser")
+    (version "0.121.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmparser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1aza0g3v49nqsc856fd7x8zwrh4hzy4si9a7jifx5nyhz745bglx"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-indexmap" ,rust-indexmap-2)
+                       ("rust-semver" ,rust-semver-1))))))
 
 (define-public rust-wasmparser-0.57
   (package
-    (inherit rust-wasmparser-0.201)
+    (inherit rust-wasmparser-0.121)
     (name "rust-wasmparser")
     (version "0.57.0")
     (source
-- 
2.41.0