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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97955f5d6e..d96518c128 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -87657,6 +87657,45 @@ (define-public rust-unidecode-0.3
      "This package provides pure ASCII transliterations of Unicode strings.")
     (license license:bsd-3)))
 
+(define-public rust-uniffi-bindgen-0.25
+  (package
+    (name "rust-uniffi-bindgen")
+    (version "0.25.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "uniffi_bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0h39vsp2qpw9qxna9fdk3h0agmz35vzixbvmb2fq4lx054ljz6gx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--" ; missing file
+         "--skip=test::test_guessing_of_crate_root_directory_from_udl_file")
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-askama" ,rust-askama-0.12)
+                       ("rust-camino" ,rust-camino-1)
+                       ("rust-cargo-metadata" ,rust-cargo-metadata-0.15)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-fs-err" ,rust-fs-err-2)
+                       ("rust-glob" ,rust-glob-0.3)
+                       ("rust-goblin" ,rust-goblin-0.6)
+                       ("rust-heck" ,rust-heck-0.4)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-paste" ,rust-paste-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-toml" ,rust-toml-0.5)
+                       ("rust-uniffi-meta" ,rust-uniffi-meta-0.25)
+                       ("rust-uniffi-testing" ,rust-uniffi-testing-0.25)
+                       ("rust-uniffi-udl" ,rust-uniffi-udl-0.25))))
+    (home-page "https://mozilla.github.io/uniffi-rs")
+    (synopsis "Codegen and CLI tooling for uniffi")
+    (description
+     "This package provides code generation and CLI tooling for uniffi:
+a multi-language bindings generator for Rust.")
+    (license license:mpl2.0)))
+
 (define-public rust-uniffi-checksum-derive-0.25
   (package
     (name "rust-uniffi-checksum-derive")
-- 
2.41.0