diff options
| author | Andrew Wong <wongandj@icloud.com> | 2025-02-20 01:43:20 -0500 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-02-20 10:59:11 +0200 |
| commit | 50dddec44f283a303a6f86201eda903fef4c8308 (patch) | |
| tree | 2d1ae3cc1014057e56fa0d11379da46ff7ef6d18 /gnu/packages | |
| parent | cd20619cfcb32c2631fb602729512740bc510550 (diff) | |
gnu: Add rust-ansi-to-html-0.1.
* gnu/packages/crates-io.scm (rust-ansi-to-html-0.1): New variable.
Change-Id: I7af10219f0c9b0af31a8efbefb12dbc6e62fc5c0
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 454c3e3eeb4..d01aa4cddec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2024 Murilo <murilo@disroot.org> ;;; Copyright © 2025 Divya Ranjan Pattanaik <divya@subvertising.org> ;;; Copyright © 2025 Karl Hallsby <karl@hallsby.com> +;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1805,6 +1806,29 @@ it outputs messages to Android's logcat.") with ANSI strings.") (license license:expat))) +(define-public rust-ansi-to-html-0.1 + (package + (name "rust-ansi-to-html") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi-to-html" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18kwlgr3vfsij8gvl7vxw11yl628b1s8z2pldh73z4zzq2693gf7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1)))) + (home-page + "https://github.com/Aloso/to-html/tree/master/crates/ansi-to-html") + (synopsis "ANSI escape codes to HTML converter") + (description "This package provides an ANSI escape codes to HTML converter.") + (license license:expat))) + (define-public rust-ansi-width-0.1 (package (name "rust-ansi-width") |
