Subject: [bug#69257] [PATCH 224/228] gnu: Add rust-uniffi-0.25.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:12:34 +0100

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

Change-Id: Ie5f5ba4b01e0395ace44d2df5727dbd28c210595
---
 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 6841edcd8c..828d64255f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78978,6 +78978,34 @@ (define-public rust-unicode-xid-0.0
         (base32
          "1p5l9h3n3i53cp95fb65p8q3vbwib79ryd9z5z5h5kr9gl6qc7wc"))))))
 
+(define-public rust-uniffi-0.25
+  (package
+    (name "rust-uniffi")
+    (version "0.25.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "uniffi" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17wizn2iday1726gnngmn72437mfsi9nrmbzqi4gv4hhsdr52d11"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-camino" ,rust-camino-1)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-uniffi-bindgen" ,rust-uniffi-bindgen-0.25)
+                       ("rust-uniffi-build" ,rust-uniffi-build-0.25)
+                       ("rust-uniffi-core" ,rust-uniffi-core-0.25)
+                       ("rust-uniffi-macros" ,rust-uniffi-macros-0.25))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://mozilla.github.io/uniffi-rs")
+    (synopsis "Multi-language bindings generator for Rust")
+    (description
+      "This package provides a multi-language bindings generator for
+Rust.")
+    (license license:mpl2.0)))
+
 (define-public rust-uniffi-bindgen-0.25
   (package
     (name "rust-uniffi-bindgen")
-- 
2.41.0