[bug#74743,rust-team,v2,40/68] gnu: rust-local-fmt-0.4: New variable.

Message ID 20250319011932.1899508-41-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted rust-* package upgrades |

Commit Message

Aaron Covrig March 19, 2025, 1:18 a.m. UTC
  * gnu/packages/crates-io.scm (rust-local-fmt-0.4): New variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a05bb93bb..711bda0dc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40539,6 +40539,34 @@  (define-public rust-local-channel-0.1
 futures-aware, FIFO queue.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-local-fmt-0.4
+  (package
+    (name "rust-local-fmt")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "local-fmt" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "198jswaggdcfwk12mh4v89lybpzvhjy11vfcdnhg9y9ln0z112cy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--all-features")
+       #:cargo-inputs (("rust-enum-table" ,rust-enum-table-0.2)
+                       ("rust-thiserror" ,rust-thiserror-2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-local-fmt-macros" ,rust-local-fmt-macros-0.4))
+       #:cargo-development-inputs (("rust-serde" ,rust-serde-1)
+                                    ("rust-toml" ,rust-toml-0.8))))
+    (home-page "https://github.com/moriyoshi-kasuga/local-fmt")
+    (synopsis "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-0.4
   (package
     (name "rust-local-fmt-macros")