Subject: [bug#75127] [PATCH rust-team v5 02/57] gnu: Add rust-enable-ansi-support-0.2.

From: Jordan Moore <[email-masked]>
Date: Sat, 4 Jan 2025 23:28:32 -0500

* gnu/packages/crates-graphics.scm (rust-enable-ansi-support-0.2): New variable.

Change-Id: I5f60502c1f56ff0a5154713099f4db939944b492
---
 gnu/packages/crates-graphics.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index b00da5ba2f..5197b62ff8 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1267,6 +1267,27 @@ (define-public rust-drm-sys-0.5
      `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
                        ("rust-pkg-config" ,rust-pkg-config-0.3))))))
 
+(define-public rust-enable-ansi-support-0.2
+  (package
+    (name "rust-enable-ansi-support")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "enable-ansi-support" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q5wv5b9inh7kzc2464ch51ffk920f9yb0q9xvvlp9cs5apg6kxa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.42))))
+    (home-page "https://github.com/sunshowers-code/enable-ansi-support")
+    (synopsis "Enable ANSI escape code support on Windows 10")
+    (description
+     "This package provides Enable ANSI escape code support on Windows 10.")
+    (license license:expat)))
+
 (define-public rust-enterpolation-0.2
   (package
     (name "rust-enterpolation")
-- 
2.46.0