guix-patches
[Top][All Lists]
Advanced

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

[bug#75127] [PATCH 02/67] gnu: Add rust-enable-ansi-support-0.2.


From: Jordan Moore
Subject: [bug#75127] [PATCH 02/67] gnu: Add rust-enable-ansi-support-0.2.
Date: Thu, 26 Dec 2024 18:10:38 -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 8907f2073c..da1456e087 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1384,6 +1384,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






reply via email to

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