guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.

commit feec8ee4223fff37a43d008d3d2bb3b52777a811
Author: Yan Abu Arab <[email protected]>
AuthorDate: Sat Dec 20 02:35:32 2025 +0200

    gnu: Add ruby-strings-ansi.
    
    * gnu/packages/ruby-xyz.scm (ruby-strings-ansi): New variable.
    
    Change-Id: I5cccefb9ecc2f6a7a446432134de8284beeb02b0
    Signed-off-by: Steve George <[email protected]>
---
 gnu/packages/ruby-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 7af3a8e0c8..c1c74dcd03 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.")
 hosts by wrapping the @file{rsync} binary.")
     (license license:expat)))
 
+(define-public ruby-strings-ansi
+  (package
+    (name "ruby-strings-ansi")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "strings-ansi" version))
+       (sha256
+        (base32 "120wa6yjc63b84lprglc52f40hx3fx920n4dmv14rad41rv2s9lh"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list
+      ;; FIXME: tests seems to depend on ruby-strings
+      #:tests? #f))
+    (native-inputs (list bundler ruby-rspec))
+    (synopsis "Handle ANSI escape codes in strings")
+    (description
+     "@code{strings::ANSI} provides Ruby methods for processing ANSI escape
+codes in strings.")
+    (home-page "https://github.com/piotrmurach/strings-ansi";)
+    (license license:expat)))
+
 (define-public ruby-tty-color
   (package
     (name "ruby-tty-color")

Reply via email to