guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

63/272: gnu: Add rust-strip-ansi-escapes-0.1.


From: guix-commits
Subject: 63/272: gnu: Add rust-strip-ansi-escapes-0.1.
Date: Sat, 13 Feb 2021 05:54:06 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 61b249fb7509a36209b3d2d598fb30aa8345a7c5
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 9 23:28:30 2021 +0100

    gnu: Add rust-strip-ansi-escapes-0.1.
    
    * gnu/packages/crates-io.scm (rust-strip-ansi-escapes-0.1): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d9feac..b2597d4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35868,6 +35868,32 @@ developed as part of the Servo project.")
      "Code share between string_cache and string_cache_codegen.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-strip-ansi-escapes-0.1
+  (package
+    (name "rust-strip-ansi-escapes")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strip-ansi-escapes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vmc6cwxsvp02b17b6x42mnnnn5vlc1dqbcqc2a71yms59p6fqwx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-vte" ,rust-vte-0.3))))
+    (home-page "https://github.com/luser/strip-ansi-escapes";)
+    (synopsis "Strip ANSI escape sequences from byte streams")
+    (description
+     "This crate is for stripping ANSI escape sequences from byte sequences.
+
+This can be used to take output from a program that includes escape sequences
+and write it somewhere that does not easily support them, such as a log
+file.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-strsim-0.9
   (package
     (name "rust-strsim")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]