Subject: [PATCH 34/42] gnu: Add rust-unic-langid-0.9.

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

* gnu/packages/crates-io.scm (rust-unic-langid-0.9): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6cb126b48f..c60635366d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85808,6 +85808,27 @@ (define-public rust-unic-langid-impl-0.9
     (description "API for managing Unicode Language Identifiers")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-unic-langid-0.9
+  (package
+    (name "rust-unic-langid")
+    (version "0.9.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "unic-langid" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05pm5p3j29c9jw9a4dr3v64g3x6g3zh37splj47i7vclszk251r3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-unic-langid-impl" ,rust-unic-langid-impl-0.9)
+                       ("rust-unic-langid-macros" ,rust-unic-langid-macros-0.9))))
+    (home-page "https://github.com/zbraniecki/unic-locale")
+    (synopsis "API for managing Unicode Language Identifiers")
+    (description "API for managing Unicode Language Identifiers")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-unicase-2
   (package
     (name "rust-unicase")
-- 
2.41.0