gnu: Add rust-ansi-width-0.1.
* gnu/packages/crates-io.scm (rust-ansi-width-0.1): New variable. Change-Id: I28ecb595a29c5b6607ce94dcfda904f1c014271dmaster
parent
954c4661b3
commit
6a3d61acbf
|
@ -1696,6 +1696,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")
|
||||
|
|
Reference in New Issue