guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit aa061ddd7e9549be7032a5cb6ce1023005ff59b2
Author: Yan Abu Arab <[email protected]>
AuthorDate: Sat Dec 20 02:27:50 2025 +0200
gnu: Add ruby-tty-color.
* gnu/packages/ruby-xyz.scm (ruby-tty-color): New variable.
Change-Id: I1ac670580783b37278b2d8b911d55db36ce1bb82
Signed-off-by: Steve George <[email protected]>
---
gnu/packages/ruby-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index caa1ff7e31..06224819c7 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -504,6 +504,30 @@ or autoload all Ruby files in a directory.")
hosts by wrapping the @file{rsync} binary.")
(license license:expat)))
+(define-public ruby-tty-color
+ (package
+ (name "ruby-tty-color")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "tty-color" version))
+ (sha256
+ (base32 "0aik4kmhwwrmkysha7qibi2nyzb4c8kp42bd5vxnf8sf7b53g73g"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list
+ ;; no tests in Gem
+ #:tests? #f))
+ (native-inputs (list ruby-rspec))
+ (synopsis "Terminal color capabilities detection for Ruby")
+ (description
+ "@code{TTY:Color} provides an independent color support
+detection component. It is part of the TTY Toolkit project which provides
+a range of terminal application capabilities.")
+ (home-page "https://ttytoolkit.org")
+ (license license:expat)))
+
(define-public ruby-tty-screen
(package
(name "ruby-tty-screen")