From 22f50a100f32531dff670217fd269ba3486faba6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:58:03 +0300 Subject: [PATCH] gnu: Add rust-ansitok-0.2. * gnu/packages/crates-io.scm (rust-ansitok-0.2): New variable. Change-Id: If2460a8e62524a013f2ff023e89744dfac447ce9 --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47c0487c16..5d0ad169a0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1764,6 +1764,27 @@ (define-public rust-ansi-width-0.1 "Calculate the width of a string when printed to the terminal.") (license license:expat))) +(define-public rust-ansitok-0.2 + (package + (name "rust-ansitok") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansitok" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10vc2d1325qsbvbnqnj48zg55wv7jz929drx9vpdscdvl7k48012")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-vte" ,rust-vte-0.10)))) + (home-page "https://gitlab.com/zhiburt/ansitok") + (synopsis "Library for parsing ANSI Escape Codes") + (description + "This package provides a library for parsing ANSI Escape Codes.") + (license license:expat))) + (define-public rust-anstream-0.6 (package (name "rust-anstream")