Subject: [bug#70146] [PATCH 119/147] gnu: Add rust-wiggle-18.

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

* gnu/packages/crates-io.scm (rust-wiggle-18): New variable.

Change-Id: I51ec851afc6a2ae88dbd504ed1098dd067487a0a
---
 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 8e16eb49c4..f0fc4539f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80053,6 +80053,34 @@ (define-public rust-widestring-0.4
      `(#:cargo-development-inputs
        (("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-wiggle-18
+  (package
+    (name "rust-wiggle")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wiggle" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "050fyl6www5324pk9n8a3s08c7d17nhh3814zn62g8gv3xpcszks"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-wasmtime" ,rust-wasmtime-18)
+                       ("rust-wiggle-macro" ,rust-wiggle-macro-18)
+                       ("rust-witx" ,rust-witx-0.9))))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "Runtime components of the Wiggle code generator")
+    (description "This package provides a library with the runtime components
+of the wiggle code generator.")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wiggle-generate-18
   (package
     (name "rust-wiggle-generate")
-- 
2.41.0