Subject: [bug#69363] [PATCH 68/87] gnu: Add rust-anstyle-svg-0.1.3.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:40:06 +0100

* gnu/packages/crates-io.scm (rust-anstyle-svg-0.1): New variable.

Change-Id: I4a3363aa1e102585567ea41c78a2f9c5bdf0c98a
---
 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 7a3db84a47..a94655aa2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1796,6 +1796,31 @@ (define-public rust-anstyle-stream-0.2
 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
+       #: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")
-- 
2.41.0