gnu: Add rust-ansi-to-tui-2.
* gnu/packages/crates-graphics.scm (rust-ansi-to-tui-2): New variable. Change-Id: I3eb91a0ce8c66a911eaab5946e6b085ac0de8b96 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
7170013e98
commit
a5ea2f9854
|
@ -199,6 +199,32 @@ text or blue underlined text, on ANSI terminals.")
|
||||||
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
|
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
|
||||||
(arguments `())))
|
(arguments `())))
|
||||||
|
|
||||||
|
(define-public rust-ansi-to-tui-2
|
||||||
|
(package
|
||||||
|
(name "rust-ansi-to-tui")
|
||||||
|
(version "2.0.2")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "ansi-to-tui" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0l43nyj2difngwjbiy6vd5p8bw96w06swgw5hx6vi9zvqzs8wyqm"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-nom" ,rust-nom-7)
|
||||||
|
("rust-simdutf8" ,rust-simdutf8-0.1)
|
||||||
|
("rust-thiserror" ,rust-thiserror-1)
|
||||||
|
("rust-tui" ,rust-tui-0.16))
|
||||||
|
#:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1))))
|
||||||
|
(home-page "https://github.com/uttarayan21/ansi-to-tui")
|
||||||
|
(synopsis
|
||||||
|
"Library to convert ansi color coded text into @code{ratatui::text::Text}")
|
||||||
|
(description
|
||||||
|
"This package provides a library to convert ansi color coded text into
|
||||||
|
@code{ratatui::text::Text} type from the ratatui library.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-ansiterm-0.12
|
(define-public rust-ansiterm-0.12
|
||||||
(package
|
(package
|
||||||
(name "rust-ansiterm")
|
(name "rust-ansiterm")
|
||||||
|
|
Reference in New Issue