[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/135: gnu: Add rust-unicode-truncate-0.2.
From: |
guix-commits |
Subject: |
06/135: gnu: Add rust-unicode-truncate-0.2. |
Date: |
Wed, 27 Mar 2024 04:54:38 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit a6991a6a151cc2fbfb629f7bf17f7fff4bbc1a6f
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:03 2024 +0100
gnu: Add rust-unicode-truncate-0.2.
* gnu/packages/crates-io.scm (rust-unicode-truncate): New variable.
Change-Id: I9428c1d2fa463fd6254f1c1e0f52568ed77989bc
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 11fcbb9981..77a4400a2f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -81515,6 +81515,28 @@ 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-truncate-0.2
+ (package
+ (name "rust-unicode-truncate")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "unicode-truncate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hlf6k1d7s1qqdvhxwh4xl8wd1wvqm0vr0pazxq74jksbz5fajx0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/Aetf/unicode-truncate")
+ (synopsis "Unicode-aware `str` truncate")
+ (description
+ "This package provides a unicode-aware algorithm to pad or truncate `str`
+in terms of displayed width.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-unicode-width-0.1
(package
(name "rust-unicode-width")
- 101/135: gnu: Add rust-gix-glob-0.15., (continued)
- 101/135: gnu: Add rust-gix-glob-0.15., guix-commits, 2024/03/27
- 103/135: gnu: Add rust-gix-filter-0.8., guix-commits, 2024/03/27
- 113/135: gnu: rust-gix-command-0.3: Update to 0.3.6., guix-commits, 2024/03/27
- 116/135: gnu: Add rust-gix-attributes-0.21., guix-commits, 2024/03/27
- 121/135: gnu: Add rust-tui-react-0.22., guix-commits, 2024/03/27
- 132/135: gnu: rust-crates-io-0.39: Update to 0.40., guix-commits, 2024/03/27
- 52/135: gnu: rust-scopeguard-1: Update to 1.2.0., guix-commits, 2024/03/27
- 60/135: gnu: Add rust-public-api-0.32., guix-commits, 2024/03/27
- 45/135: gnu: rust-clap-derive: Update to 4.5.4., guix-commits, 2024/03/27
- 70/135: gnu: rust-gix-validate-0.8: Update to 0.8.4., guix-commits, 2024/03/27
- 06/135: gnu: Add rust-unicode-truncate-0.2.,
guix-commits <=
- 13/135: gnu: Add rust-wezterm-dynamic-derive-0.1., guix-commits, 2024/03/27
- 25/135: gnu: Add rust-varbincode-0.1., guix-commits, 2024/03/27
- 17/135: gnu: Add rust-better-panic-0.3., guix-commits, 2024/03/27
- 21/135: gnu: Add rust-csscolorparser-0.6., guix-commits, 2024/03/27
- 23/135: gnu: Add rust-wezterm-dynamic-0.1., guix-commits, 2024/03/27
- 28/135: gnu: Add rust-struct-patch-derive-0.4., guix-commits, 2024/03/27
- 35/135: gnu: Add rust-wezterm-blob-leases-0.1., guix-commits, 2024/03/27
- 37/135: gnu: Add rust-wezterm-input-types-0.1., guix-commits, 2024/03/27
- 55/135: gnu: Add rust-rustdoc-types-0.23., guix-commits, 2024/03/27
- 58/135: gnu: Add rust-rustdoc-json-0.8., guix-commits, 2024/03/27