diff mbox series

[bug#73329,3/7] gnu: Add rust-unicode-width-0.1.13.

Message ID d14bf61dbc794e071360076fc818bca972553b7a.1726623493.git.lockbox@struct.foo
State New
Headers show
Series Add lsd utility | expand

Commit Message

Jordan Moore Sept. 18, 2024, 11:05 a.m. UTC
* gnu/packages/crates-io.scm (rust-unicode-width-0.1.13): New variable.

Change-Id: I0b62b9abcc599d25125491f32b52c3dc1fb8bca7
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aae54bfd38..8f8ac25caf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86787,6 +86787,31 @@  (define-public rust-unicode-width-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-unicode-width-0.1.13
+  (package
+    (name "rust-unicode-width")
+    (version "0.1.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "unicode-width" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0p92vl8n7qc8mxz45xn6qbgi0259z96n32a158l6vj5bywwdadh3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+                             ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+                             ("rust-rustc-std-workspace-std" ,rust-rustc-std-workspace-std-1))))
+    (home-page "https://github.com/unicode-rs/unicode-width")
+    (synopsis "Determine displayed width of `char` and `str` types
+according to Unicode Standard Annex #11 rules.")
+    (description
+     "This package provides Determine displayed width of `char` and `str` types according to Unicode
+Standard Annex #11 rules.")
+    (license (list license:expat license:asl2.0))))
+
+
 (define-public rust-unicode-xid-0.2
   (package
     (name "rust-unicode-xid")