Subject: [bug#70147] [PATCH 09/42] gnu: Add rust-fluent-bundle-0.15.

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

* gnu/packages/crates-io.scm (rust-fluent-bundle-0.15): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 334138e87b..4df273b1c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27015,6 +27015,38 @@ (define-public rust-fluent-langneg-0.13
      "This package provides a library for language and locale negotiation.")
     (license license:asl2.0)))
 
+(define-public rust-fluent-bundle-0.15
+  (package
+    (name "rust-fluent-bundle")
+    (version "0.15.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fluent-bundle" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zbzm13rfz7fay7bps7jd4j1pdnlxmdzzfymyq2iawf9vq0wchp2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-fluent-langneg" ,rust-fluent-langneg-0.13)
+                       ("rust-fluent-syntax" ,rust-fluent-syntax-0.11)
+                       ("rust-intl-memoizer" ,rust-intl-memoizer-0.5)
+                       ("rust-intl-pluralrules" ,rust-intl-pluralrules-7)
+                       ("rust-rustc-hash" ,rust-rustc-hash-1)
+                       ("rust-self-cell" ,rust-self-cell-0.10)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-unic-langid" ,rust-unic-langid-0.9))))
+    (home-page "http://www.projectfluent.org")
+    (synopsis
+     "A localization system designed to unleash the entire expressive power of
+natural language translations.
+")
+    (description
+     "This package provides a localization system designed to unleash the entire
+expressive power of natural language translations.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-flume-0.9
   (package
     (inherit rust-flume-0.10)
-- 
2.41.0