Subject: [bug#70146] [PATCH 121/147] gnu: Add rust-wasmtime-c-api-macros-18.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84d6ca8ea8..a1ea0c8bcc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79067,6 +79067,28 @@ (define-public rust-wasmtime-asm-macros-18
 functions in Wasmtime.")
     (license license:asl2.0))) ;; With LLVM exception.
 
+(define-public rust-wasmtime-c-api-macros-18
+  (package
+    (name "rust-wasmtime-c-api-macros")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-c-api-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h4428v7b4vvmdba9lqirf7qnn1xh47x6qkn10yxbdj5yxirwm6r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1))))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "Support macros for Wasmtime C bindings")
+    (description "This package provides a library with support macros for the
+Wasmtime C bindings library.")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wasmtime-cache-18
   (package
     (name "rust-wasmtime-cache")
-- 
2.41.0