From 8c6b378941630d5a14635ed8b10249d2ed9f022d Mon Sep 17 00:00:00 2001 From: msglm Date: Sun, 9 Feb 2025 12:45:19 -0600 Subject: add rust-cansi@2 --- unlustig.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/unlustig.scm b/unlustig.scm index edd800e..74fc635 100644 --- a/unlustig.scm +++ b/unlustig.scm @@ -226,3 +226,24 @@ "This package provides Windows named pipes with a unix-socket like interface.") (license license:bsd-2))) +(define-public rust-cansi-2 + (package + (name "rust-cansi") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cansi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y3yjr2fkla0cssj23lg0l58m0g6af6f8xyf2ms031in2n3sxp2b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-colored" ,rust-colored-2) + ("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/kurtlawrence/cansi") + (synopsis "Catergorise ANSI - ANSI escape code parser and categoriser") + (description + "This package provides Catergorise ANSI - ANSI escape code parser and categoriser.") + (license license:expat))) + -- cgit v1.2.3