summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-22 17:56:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:00 +0300
commitb690cb67977b81cbe916bd2595d918cd7a7ce972 (patch)
treec4a40260d27a1ce54857b345b182cc8843d2733f /gnu
parentfcbb0ed130f7de036568310d5997477f34820cdd (diff)
gnu: Add rust-supports-color-2.
* gnu/packages/crates-io.scm (rust-supports-color-2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b227d6a0a..4cad7ecb63 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")