Subject: [bug#69363] [PATCH 57/87] gnu: Add rust-anstyle-lossy-1.1.0.

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

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

Change-Id: Icdbb2273403aacc2f751315c138f4402d8b7af2f
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 88f1c692cf..65c5fb11fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1673,6 +1673,25 @@ (define-public rust-anstyle-0.2
      `(#:cargo-development-inputs
        (("rust-lexopt" ,rust-lexopt-0.3))))))
 
+(define-public rust-anstyle-lossy-1
+  (package
+    (name "rust-anstyle-lossy")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "anstyle-lossy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10c1cg8vjb7mxwky2xc8j7zdp15i1qvpmd2w6nlsxm6vcx3l9859"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1))))
+    (home-page "https://github.com/rust-cli/anstyle")
+    (synopsis "conversion between ANSI color codes")
+    (description "Lossy conversion between ANSI Color Codes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-anstyle-parse-0.2
   (package
     (name "rust-anstyle-parse")
-- 
2.41.0