summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Abu Arab <yanabuarab@gmail.com>2025-12-20 02:35:32 +0200
committerAndreas Enge <andreas@enge.fr>2026-08-23 18:16:06 +0200
commit5d7e2fde882e2f29a0ebe2df8f428eea6e6199d5 (patch)
tree98d5cac757c479945baf99dc2aa6309a024b354e
parent6bfc2bdc9d98f07f9bb045e374fb52fe9c620083 (diff)
gnu: Add ruby-strings-ansi.
* gnu/packages/ruby-xyz.scm (ruby-strings-ansi): New variable. Change-Id: I5cccefb9ecc2f6a7a446432134de8284beeb02b0 Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r--gnu/packages/ruby-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index af0e10a256d..17fce5119c1 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -528,6 +528,29 @@ or autoload all Ruby files in a directory.")
528hosts by wrapping the @file{rsync} binary.") 528hosts by wrapping the @file{rsync} binary.")
529 (license license:expat))) 529 (license license:expat)))
530 530
531(define-public ruby-strings-ansi
532 (package
533 (name "ruby-strings-ansi")
534 (version "0.2.0")
535 (source
536 (origin
537 (method url-fetch)
538 (uri (rubygems-uri "strings-ansi" version))
539 (sha256
540 (base32 "120wa6yjc63b84lprglc52f40hx3fx920n4dmv14rad41rv2s9lh"))))
541 (build-system ruby-build-system)
542 (arguments
543 (list
544 ;; FIXME: tests seems to depend on ruby-strings
545 #:tests? #f))
546 (native-inputs (list bundler ruby-rspec))
547 (synopsis "Handle ANSI escape codes in strings")
548 (description
549 "@code{strings::ANSI} provides Ruby methods for processing ANSI escape
550codes in strings.")
551 (home-page "https://github.com/piotrmurach/strings-ansi")
552 (license license:expat)))
553
531(define-public ruby-tty-color 554(define-public ruby-tty-color
532 (package 555 (package
533 (name "ruby-tty-color") 556 (name "ruby-tty-color")