mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: Add rust-unicode-ellipsis-0.2.
* gnu/packages/crates-io.scm (rust-unicode-ellipsis-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I2372bff92cb39d1f2ef2d385a4f389d1026139ef
This commit is contained in:
parent
2c2a19f255
commit
2055b43977
1 changed files with 27 additions and 0 deletions
|
@ -87251,6 +87251,33 @@ (define-public rust-unicode-categories-0.1
|
|||
membership for characters in Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-unicode-ellipsis-0.2
|
||||
(package
|
||||
(name "rust-unicode-ellipsis")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "unicode-ellipsis" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1zsdzmy6x1p8s35rgfmc7nx1qcs6j4bcfbfyiimrdngyqfwbajlj"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-test-flags
|
||||
'("--"
|
||||
"--skip=tests::test_truncate_hindi"
|
||||
"--skip=tests::test_truncate_hindi_leading")
|
||||
#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
|
||||
("rust-unicode-width" ,rust-unicode-width-0.1))))
|
||||
(home-page "https://github.com/ClementTsang/unicode-ellipsis")
|
||||
(synopsis
|
||||
"Truncate Unicode strings to a certain width, adding an ellipsis if too long")
|
||||
(description
|
||||
"This package provides a crate to truncate Unicode strings to a certain width,
|
||||
automatically adding an ellipsis if the string is too long.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-unicode-general-category-0.6
|
||||
(package
|
||||
(name "rust-unicode-general-category")
|
||||
|
|
Loading…
Reference in a new issue