From 640d6f7ec2f1685f906d975727862bfd567a8d0c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:58:03 +0300 Subject: [PATCH] gnu: Add rust-ansi-str-0.8. * gnu/packages/crates-io.scm (rust-ansi-str-0.8): New variable. Change-Id: I54d84d67637c2f5d392fa2580678a3b74dafa597 --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5d0ad169a0..cb28508ffe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1744,6 +1744,29 @@ it outputs messages to Android's logcat.") (("rust-heapless" ,rust-heapless-0.5) ("rust-nom" ,rust-nom-4)))))) +(define-public rust-ansi-str-0.8 + (package + (name "rust-ansi-str") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ansi-str" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07ddhqynv05xjyhw295w29qy77fi84sh5p2mm46ap0d94s4mgx0w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansitok" ,rust-ansitok-0.2)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + (home-page "https://github.com/zhiburt/ansi-str") + (synopsis + "Library which provides a set of methods to work with ANSI strings") + (description + "This package provides a library which provides a set of methods to work +with ANSI strings.") + (license license:expat))) + (define-public rust-ansi-width-0.1 (package (name "rust-ansi-width")