Subject: [PATCH 052/147] gnu: Add rust-wat-1.

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

* gnu/packages/crates-io.scm (rust-wat-1): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a6ae6703cb..b238fc265a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78029,6 +78029,29 @@ (define-public rust-wast-35
      `(#:skip-build? #t
        #:cargo-inputs (("rust-leb128" ,rust-leb128-0.2))))))
 
+(define-public rust-wat-1
+  (package
+    (name "rust-wat")
+    (version "1.201.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wat" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cizrxad8y4wdrgcdwdy7f4dfd1nqxgh2s6bykjdx62vlhvmnga5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-wast" ,rust-wast-201))))
+    (home-page
+     "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat")
+    (synopsis "Parser for the WebAssembly text format (WAT)")
+    (description "This package provides a library with a parser for the
+WebAssembly text format (WAT)")
+    ;; With LLVM exception.
+    (license license:asl2.0)))
+
 (define-public rust-watchexec-1
   (package
     (name "rust-watchexec")
-- 
2.41.0