Subject: [PATCH 4/6] gnu: Add rust-xi-unicode-0.3.

From: jgart <[email-masked]>
Date: Sun, 5 Dec 2021 16:36:10 -0500

* gnu/packages/crates-io.scm (rust-xi-unicode-0.3): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d629bb59e..41bc459939 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63277,6 +63277,26 @@ (define-public svd2rust
       "Generate Rust register maps (`struct`s) from SVD files")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-xi-unicode-0.3
+  (package
+    (name "rust-xi-unicode")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "xi-unicode" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "12mvjgrhr7557cib69wm4q5s4srba27pg2df9l1zihrxgnbh0wx6"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/google/xi-editor")
+    (synopsis
+      "Unicode utilities useful for text editing, including a line breaking iterator.")
+    (description
+      "Unicode utilities useful for text editing, including a line breaking iterator.")
+    (license license:asl2.0)))
+
 (define-public rust-shell2batch-0.4
   (package
     (name "rust-shell2batch")
-- 
2.34.0