mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
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>
This commit is contained in:
parent
7170013e98
commit
a5ea2f9854
1 changed files with 26 additions and 0 deletions
|
@ -199,6 +199,32 @@ (define-public rust-ansi-term-0.9
|
|||
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
|
||||
(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
|
||||
(package
|
||||
(name "rust-ansiterm")
|
||||
|
|
Loading…
Reference in a new issue