diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index fb2b5cf227..a75d15ae34 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -199,6 +199,32 @@ text or blue underlined text, on ANSI terminals.") "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") |