From f882e8efe921cf07b62294cbc6b2e89c2c80b8e6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 9 Feb 2020 12:04:14 +0200 Subject: gnu: Add rust-unicode-segmentation-1.6. * gnu/packages/crates-io.scm (rust-unicode-segmentation-1.6): New variable. (rust-unicode-segmentation-1.3)[inherit]: Inherit from rust-unicode-segmentation-1.6. --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d6957d1800..e3e12b2eb5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13510,10 +13510,10 @@ including Canonical and Compatible Decomposition and Recomposition, as described in Unicode Standard Annex #15.") (license (list license:expat license:asl2.0)))) -(define-public rust-unicode-segmentation-1.3 +(define-public rust-unicode-segmentation-1.6 (package (name "rust-unicode-segmentation") - (version "1.3.0") + (version "1.6.0") (source (origin (method url-fetch) @@ -13522,11 +13522,10 @@ described in Unicode Standard Annex #15.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1a9jqg7rb1yq6w2xc9jgxcs111yk5vxm9afjfvykfnrmzk6z8rqr")))) + "1h7d48mzpi8hwf5cvnq07warkv86pvapzzzf32hvbjsk20yiagp8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-development-inputs + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-0.7)))) (home-page "https://github.com/unicode-rs/unicode-segmentation") (synopsis "Grapheme Cluster, Word and Sentence boundaries") @@ -13535,6 +13534,21 @@ described in Unicode Standard Annex #15.") boundaries according to Unicode Standard Annex #29 rules.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-segmentation-1.3 + (package + (inherit rust-unicode-segmentation-1.6) + (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")))))) + (define-public rust-unicode-width-0.1 (package (name "rust-unicode-width") -- cgit v1.2.3