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>
This commit is contained in:
Andrew Wong 2025-02-20 01:43:20 -05:00 committed by Efraim Flashner
parent cd20619cfc
commit 50dddec44f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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")