guix-commits
[Top][All Lists]
Advanced

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

212/330: gnu: Add rust-anstyle-svg-0.1.


From: guix-commits
Subject: 212/330: gnu: Add rust-anstyle-svg-0.1.
Date: Mon, 18 Mar 2024 07:16:16 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 71e8af18e0ece15a6842dca8378b42bb41660919
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:40:06 2024 +0100

    gnu: Add rust-anstyle-svg-0.1.
    
    * gnu/packages/crates-io.scm (rust-anstyle-svg-0.1): New variable.
    
    Change-Id: I4a3363aa1e102585567ea41c78a2f9c5bdf0c98a
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 952aa91c46..45ad2dbe0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1890,6 +1890,31 @@ text to a terminal.")
 writing colored text to a terminal.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-anstyle-svg-0.1
+  (package
+    (name "rust-anstyle-svg")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "anstyle-svg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0yi8d0cv1spcisch35b1f7q7lz7j7yyircrnvgaxcj5l8zadlvcb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Tests segfault.
+       #:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)
+                       ("rust-anstyle" ,rust-anstyle-1)
+                       ("rust-anstyle-lossy" ,rust-anstyle-lossy-1)
+                       ("rust-html-escape" ,rust-html-escape-0.2)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1))
+       #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.5))))
+    (home-page "https://github.com/rust-cli/anstyle";)
+    (synopsis "Convert ANSI escape codes to SVG")
+    (description "Convert ANSI escape codes to SVG.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-antidote-1
   (package
     (name "rust-antidote")



reply via email to

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