Subject: [bug#76513] [PATCH rust-team v2 21/77] gnu: Add rust-chinese-variant-1.

From: Andrew Wong <[email-masked]>
Date: Wed, 26 Feb 2025 19:50:31 -0500

* gnu/packages/crates-io.scm (rust-chinese-variant-1): New variable.

Change-Id: I771f2cf1d7fe168275252648adc1ba65d2ff7caf
---
 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 6fd4d11870..408020ecd0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12129,6 +12129,27 @@ (define-public rust-chinese-number-0.7
 primitive numbers.")
     (license license:expat)))
 
+(define-public rust-chinese-variant-1
+  (package
+    (name "rust-chinese-variant")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "chinese-variant" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12s91vg2m9wfs9b3f0q2alj9am08y7r2prb0szg3fwjh8m8lg23m"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-enum-ordinalize" ,rust-enum-ordinalize-4))))
+    (home-page "https://magiclen.org/chinese-variant")
+    (synopsis "An enum to represent the variants of the Chinese Language")
+    (description
+     "This package provides An enum to represent the variants of the Chinese Language.")
+    (license license:expat)))
+
 (define-public rust-chrono-0.4
   (package
     (name "rust-chrono")
-- 
2.48.1