Subject: [PATCH 20/42] gnu: Add rust-i18n-config-0.4.

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

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

Change-Id: I74412723ea6ece9068d029725c530ee047ea2474
---
 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 fb27c48b1f..c9cb2679e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35560,6 +35560,35 @@ (define-public rust-i18n-embed-0.14
 application binary or library in order to localize it at runtime.")
     (license license:expat)))
 
+(define-public rust-i18n-config-0.4
+  (package
+    (name "rust-i18n-config")
+    (version "0.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "i18n-config" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0h3ndvkk4ws2jgkrk6wnbpc6l7xmnlr1ycxr49dzs8dwik2f770c"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #f
+       #:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-derive" ,rust-serde-derive-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-toml" ,rust-toml-0.8)
+                       ("rust-unic-langid" ,rust-unic-langid-0.9))))
+    (home-page
+     "https://github.com/kellpossible/cargo-i18n/tree/master/i18n-config")
+    (synopsis
+     "This library contains the configuration stucts")
+    (description
+     "This library contains the configuration stucts (along with their parsing
+functions) for the cargo-i18n tool/system.")
+    (license license:expat)))
+
 (define-public rust-jack-0.10
   (package
     (name "rust-jack")
-- 
2.41.0