Subject: [PATCH 076/147] gnu: Add rust-wasmtime-types-18.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92230a1dbc..a01c699bc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78541,6 +78541,31 @@ (define-public rust-wasmtime-component-util-18
 functions to support the component model in Wasmtime.")
     (license license:asl2.0))) ;; With the LLVM exception.
 
+(define-public rust-wasmtime-types-18
+  (package
+    (name "rust-wasmtime-types")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02if112fdf6ap6vnvglbi23crzbp0ixzjsrgrdpy1gi7v35pf8zk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cranelift-entity" ,rust-cranelift-entity-0.105)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-derive" ,rust-serde-derive-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-wasmparser" ,rust-wasmparser-0.121))))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "WebAssembly type definitions for Cranelift")
+    (description "This package provides a library with WebAssembly type
+definitions for Cranelift.")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wast-201
   (package
     (name "rust-wast")
-- 
2.41.0