[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
223/330: gnu: Add rust-ansi-width-0.1.
From: |
guix-commits |
Subject: |
223/330: gnu: Add rust-ansi-width-0.1. |
Date: |
Mon, 18 Mar 2024 07:16:19 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 64d9adb184538adca1b615fb9bd61f1d793a3e45
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 17 14:30:00 2024 +0200
gnu: Add rust-ansi-width-0.1.
* gnu/packages/crates-io.scm (rust-ansi-width-0.1): New variable.
Change-Id: I28ecb595a29c5b6607ce94dcfda904f1c014271d
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0053a90ff5..d1c0b46a50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1675,6 +1675,26 @@ it outputs messages to Android's logcat.")
(("rust-heapless" ,rust-heapless-0.5)
("rust-nom" ,rust-nom-4))))))
+(define-public rust-ansi-width-0.1
+ (package
+ (name "rust-ansi-width")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ansi-width" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "023693dwvci91456nfi0aygc44i1f098l2f23ssq67b1ybk3r7i1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (home-page "https://docs.rs/ansi-width")
+ (synopsis "Calculate the width of a string when printed to the terminal")
+ (description
+ "Calculate the width of a string when printed to the terminal.")
+ (license license:expat)))
+
(define-public rust-anstream-0.6
(package
(name "rust-anstream")
- 186/330: gnu: Add rust-hyper-util-0.1., (continued)
- 186/330: gnu: Add rust-hyper-util-0.1., guix-commits, 2024/03/18
- 187/330: gnu: Add rust-http-range-header-0.4., guix-commits, 2024/03/18
- 198/330: gnu: Add rust-tower-http-0.5., guix-commits, 2024/03/18
- 195/330: gnu: Add rust-pnet-base-0.34., guix-commits, 2024/03/18
- 193/330: gnu: Add rust-pcap-1., guix-commits, 2024/03/18
- 196/330: gnu: Add rust-pnet-sys-0.34., guix-commits, 2024/03/18
- 201/330: gnu: rust-sluice-0.5: Update to 0.5.5., guix-commits, 2024/03/18
- 209/330: gnu: Add rust-trycmd-0.15., guix-commits, 2024/03/18
- 203/330: gnu: Add rust-opentelemetry-http-0.10., guix-commits, 2024/03/18
- 216/330: gnu: rust-toml-test-data: Update to 1.8.0., guix-commits, 2024/03/18
- 223/330: gnu: Add rust-ansi-width-0.1.,
guix-commits <=
- 219/330: gnu: Add rust-winnow-0.6., guix-commits, 2024/03/18
- 230/330: gnu: treefmt: Update to 0.6.1., guix-commits, 2024/03/18
- 233/330: gnu: rust-rust-embed-5: Don't skip the build., guix-commits, 2024/03/18
- 236/330: gnu: rust-include-flate-codegen-exports-0.1: Update to 0.1.4., guix-commits, 2024/03/18
- 240/330: gnu: Add rust-inferno-0.11., guix-commits, 2024/03/18
- 242/330: gnu: Place rust-prost-build-0.12 in alphabetical order., guix-commits, 2024/03/18
- 245/330: gnu: Add rust-msvc-demangler-0.9., guix-commits, 2024/03/18
- 60/330: gnu: Add rust-wl-clipboard-rs-0.8., guix-commits, 2024/03/18
- 62/330: gnu: Add rust-windows-win-3., guix-commits, 2024/03/18
- 72/330: gnu: Add rust-windows-core-0.52., guix-commits, 2024/03/18