From b4971bb6a753f1b606e4c0485fec8641df3b3679 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Dec 2019 09:31:35 -0800 Subject: [PATCH] gnu: Add rust-unicode-segmentation-1.3. * gnu/packages/crates-io.scm (rust-unicode-segmentation-1.3): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8655550384..56ac838a60 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9687,6 +9687,31 @@ (define-public rust-unicode-normalization-0.1 described in Unicode Standard Annex #15.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-segmentation-1.3 + (package + (name "rust-unicode-segmentation") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-segmentation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a9jqg7rb1yq6w2xc9jgxcs111yk5vxm9afjfvykfnrmzk6z8rqr")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.8)))) + (home-page "https://github.com/unicode-rs/unicode-segmentation") + (synopsis "Grapheme Cluster, Word and Sentence boundaries") + (description + "This crate provides Grapheme Cluster, Word and Sentence +boundaries according to Unicode Standard Annex #29 rules.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unicode-width-0.1 (package (name "rust-unicode-width")