Subject: [bug#74743] [PATCH rust-team v2 39/68] gnu: rust-local-fmt-macros-0.4: New variable.

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:18:57 -0400

* gnu/packages/crates-io.scm (rust-local-fmt-macros-0.4): New variable.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72e7a70c82..2a05bb93bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40539,6 +40539,35 @@ (define-public rust-local-channel-0.1
 futures-aware, FIFO queue.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-local-fmt-macros-0.4
+  (package
+    (name "rust-local-fmt-macros")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "local-fmt-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ndp8m9y63hs9hwdvbp36aiy32pnlhlq8bb0rn8rmnni8a99pa1p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--"
+                            ;; Missing function
+                            "--skip=src/lib.rs - def_local_fmt (line 80)"
+                            "--skip=src/lib.rs - def_local_fmt (line 116)")
+       #:cargo-inputs
+       (("rust-local-fmt-macros-internal" ,rust-local-fmt-macros-internal-0.4)
+        ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs (("enum-table" ,rust-enum-table-0.2))))
+    (home-page "https://github.com/moriyoshi-kasuga/local-fmt")
+    (synopsis "Macros for @dfn{local-fmt} localizable format strings")
+    (description "@dfn{local-fmt} is a Rust library that provides a mechanism
+for defining and using localizable format strings.  It is designed to facilitate
+the creation of applications that support multiple languages by allowing
+developers to define messages in a structured and maintainable way.")
+    (license license:expat)))
+
 (define-public rust-local-fmt-macros-internal-0.4
   (package
     (name "rust-local-fmt-macros-internal")
-- 
2.48.1