Subject: [PATCH 19/42] gnu: Add rust-i18n-embed-0.14.

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

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

Change-Id: Ia7cd9e83f321b861d097bc6334ebd8bcdefb53e6
---
 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 12a39c6bd8..fb27c48b1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35521,6 +35521,45 @@ (define-public rust-i18n-embed-fl-0.7
 fluent localization system.")
     (license license:expat)))
 
+(define-public rust-i18n-embed-0.14
+  (package
+    (name "rust-i18n-embed")
+    (version "0.14.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "i18n-embed" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17251vazz8mybcgic9wffk56acv5i5zsg3x9kvdvjnsgfsams84l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1)
+                       ("rust-fluent" ,rust-fluent-0.16)
+                       ("rust-fluent-langneg" ,rust-fluent-langneg-0.13)
+                       ("rust-fluent-syntax" ,rust-fluent-syntax-0.11)
+                       ("rust-gettext" ,rust-gettext-0.4)
+                       ("rust-i18n-embed-impl" ,rust-i18n-embed-impl-0.8)
+                       ("rust-intl-memoizer" ,rust-intl-memoizer-0.5)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-locale-config" ,rust-locale-config-0.3)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-rust-embed" ,rust-rust-embed-8)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tr" ,rust-tr-0.1)
+                       ("rust-unic-langid" ,rust-unic-langid-0.9)
+                       ("rust-walkdir" ,rust-walkdir-2)
+                       ("rust-web-sys" ,rust-web-sys-0.3))))
+    (home-page
+     "https://github.com/kellpossible/cargo-i18n/tree/master/i18n-embed")
+    (synopsis
+     "Traits and macros to conveniently embed localization assets")
+    (description
+     "Traits and macros to conveniently embed localization assets into your
+application binary or library in order to localize it at runtime.")
+    (license license:expat)))
+
 (define-public rust-jack-0.10
   (package
     (name "rust-jack")
-- 
2.41.0