Subject: [bug#69257] [PATCH rust-team v2 097/117] gnu: Add rust-uniffi-macros-0.25.

From: Herman Rimm <[email-masked]>
Date: Sun, 28 Apr 2024 20:56:03 +0200

* gnu/packages/crates-io.scm (rust-uniffi-macros-0.25): Add variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b396f0d0e3..79d2c4fe38 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -87770,6 +87770,37 @@ (define-public rust-uniffi-core-0.25
 language bindings generator for Rust.")
     (license license:mpl2.0)))
 
+(define-public rust-uniffi-macros-0.25
+  (package
+    (name "rust-uniffi-macros")
+    (version "0.25.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "uniffi_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1r4j5qwwbvx0x8rkmvzh0y37924vk4vs0zmplnpyvz01y5c7mkqi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bincode" ,rust-bincode-1)
+                       ("rust-camino" ,rust-camino-1)
+                       ("rust-fs-err" ,rust-fs-err-2)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-toml" ,rust-toml-0.5)
+                       ("rust-uniffi-build" ,rust-uniffi-build-0.25)
+                       ("rust-uniffi-meta" ,rust-uniffi-meta-0.25))))
+    (home-page "https://mozilla.github.io/uniffi-rs")
+    (synopsis "UniFFI convenience macros")
+    (description
+     "This package provides convenience macros for UniFFI: a
+multi-language bindings generator for Rust.")
+    (license license:mpl2.0)))
+
 (define-public rust-uniffi-meta-0.25
   (package
     (name "rust-uniffi-meta")
-- 
2.41.0