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.
This commit is contained in:
Efraim Flashner 2020-02-09 12:04:14 +02:00
parent 6901f6cdc8
commit f882e8efe9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -13510,8 +13510,33 @@ (define-public rust-unicode-normalization-0.1
described in Unicode Standard Annex #15.") described in Unicode Standard Annex #15.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-unicode-segmentation-1.6
(package
(name "rust-unicode-segmentation")
(version "1.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "unicode-segmentation" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1h7d48mzpi8hwf5cvnq07warkv86pvapzzzf32hvbjsk20yiagp8"))))
(build-system cargo-build-system)
(arguments
`(#: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")
(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-segmentation-1.3 (define-public rust-unicode-segmentation-1.3
(package (package
(inherit rust-unicode-segmentation-1.6)
(name "rust-unicode-segmentation") (name "rust-unicode-segmentation")
(version "1.3.0") (version "1.3.0")
(source (source
@ -13522,18 +13547,7 @@ (define-public rust-unicode-segmentation-1.3
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1a9jqg7rb1yq6w2xc9jgxcs111yk5vxm9afjfvykfnrmzk6z8rqr")))) "1a9jqg7rb1yq6w2xc9jgxcs111yk5vxm9afjfvykfnrmzk6z8rqr"))))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#: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")
(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 (define-public rust-unicode-width-0.1
(package (package