aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 15:26:33 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 19:48:23 +0100
commit92d03ec8638a2831cf3447b6b587435fdcb7bb83 (patch)
treef8692ddd4cf39bfae351f4131da28387ba2a5b21 /gnu
parent6cac86c98530b35cebd098bf432840e5650fe940 (diff)
downloadguix-92d03ec8638a2831cf3447b6b587435fdcb7bb83.tar
guix-92d03ec8638a2831cf3447b6b587435fdcb7bb83.tar.gz
gnu: Add rust-utf8-width-0.1.
* gnu/packages/crates-io.scm (rust-utf8-width-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef911cd99b..aa48315b5e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33940,6 +33940,25 @@ Unix users and groups.")
`(#:cargo-development-inputs
(("rust-quickcheck" ,rust-quickcheck-0.2))))))
+(define-public rust-utf8-width-0.1
+ (package
+ (name "rust-utf8-width")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "utf8-width" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ylf5mvzck81iszchxyqmhwimkcdqv7jhazvd454g911cchsqwch"))))
+ (build-system cargo-build-system)
+ (home-page "https://magiclen.org/utf8-width")
+ (synopsis "Determine the width of a UTF-8 character")
+ (description
+ "This package determines the width of a UTF-8 character by providing its
+first byte.")
+ (license license:expat)))
+
(define-public rust-utf8parse-0.1
(package
(name "rust-utf8parse")