Subject: [bug#70147] [PATCH 18/42] gnu: Add rust-i18n-embed-fl-0.7.

From: Wilko Meyer <[email-masked]>
Date: Tue, 2 Apr 2024 18:22:35 +0200

* gnu/packages/crates-io.scm (rust-i18n-embed-fl-0.7): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b493f1e8e6..12a39c6bd8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35484,6 +35484,43 @@ (define-public rust-ivf-0.1
     (description "This package provides a simple ivf muxer.")
     (license license:bsd-2)))
 
+(define-public rust-i18n-embed-fl-0.7
+  (package
+    (name "rust-i18n-embed-fl")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "i18n-embed-fl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18nm8w031jani3m0cxhki9fzw5fs50qwzwfwmm6grpwma5qzihcz"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-dashmap" ,rust-dashmap-5)
+                       ("rust-doc-comment" ,rust-doc-comment-0.3)
+                       ("rust-find-crate" ,rust-find-crate-0.6)
+                       ("rust-fluent" ,rust-fluent-0.16)
+                       ("rust-fluent-syntax" ,rust-fluent-syntax-0.11)
+                       ("rust-i18n-config" ,rust-i18n-config-0.4)
+                       ("rust-i18n-embed" ,rust-i18n-embed-0.14)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-strsim" ,rust-strsim-0.10)
+                       ("rust-syn" ,rust-syn-2)
+                       ("rust-unic-langid" ,rust-unic-langid-0.9))))
+    (home-page
+     "https://github.com/kellpossible/cargo-i18n")
+    (synopsis
+     "Macro to perform compile time checks when using the i18n-embed crate")
+    (description
+     "Macro to perform compile time checks when using the i18n-embed crate and the
+fluent localization system.")
+    (license license:expat)))
+
 (define-public rust-jack-0.10
   (package
     (name "rust-jack")
-- 
2.41.0