guix-commits
[Top][All Lists]
Advanced

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

327/379: gnu: Add rust-supports-color-2.


From: guix-commits
Subject: 327/379: gnu: Add rust-supports-color-2.
Date: Thu, 29 Jun 2023 12:35:08 -0400 (EDT)

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

commit e00bca471c9883c5098a02452cccfc69643fcb85
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 17:56:37 2023 +0300

    gnu: Add rust-supports-color-2.
    
    * gnu/packages/crates-io.scm (rust-supports-color-2): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1f9eb60011..99c6916ea4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62154,6 +62154,29 @@ alike.  It's completely modular, and built directly 
for @code{async/await}.")
 values without proliferating generics.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-supports-color-2
+  (package
+    (name "rust-supports-color")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "supports-color" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0m5kayz225f23k5jyjin82sfkrqhfdq3j72ianafkazz9cbyfl29"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; panicked at 'assertion failed: `(left == right)`
+       #:cargo-inputs
+       (("rust-is-terminal" ,rust-is-terminal-0.4)
+        ("rust-is-ci" ,rust-is-ci-1))))
+    (home-page "https://github.com/zkat/supports-color";)
+    (synopsis "Detects whether a terminal supports color")
+    (description
+     "Detects whether a terminal supports color, and gives details about that 
support.")
+    (license license:asl2.0)))
+
 (define-public rust-sval-1
   (package
     (name "rust-sval")



reply via email to

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