GNU bug report logs - #78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Wed, 18 Jun 2025 14:22:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 78826 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 78826 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 05/88] gnu: Add ruby-leto.
Date: Wed, 18 Jun 2025 16:26:52 +0200
* gnu/packages/ruby-xyz.scm (ruby-leto): New variable.
---
 gnu/packages/ruby-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index d04a3c9e0d..a2581c6860 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -11311,6 +11311,43 @@ (define-public ruby-lemon
     (home-page "https://rubyworks.github.io/lemon")
     (license license:bsd-2)))
 
+(define-public ruby-leto
+  (package
+    (name "ruby-leto")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "leto" version))
+       (sha256
+        (base32 "1ys0qr95zjbln8mfq2bxia63nkdfj1gxy89j6mdcbn6ljy6mb3ch"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list #:tests? #f ; No tests.
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'ignore-rubocop
+                 (lambda _
+                   (substitute* "Rakefile"
+                     (("RUBY_VERSION\\.to_f >= 3\\.0")
+                      "false")))))))
+    (native-inputs (list ruby-rake ruby-rspec))
+    (synopsis "Generic object traverser")
+    (description
+     "This package provides a generic object traverser for Ruby.  It takes the
+object and recursively yields:
+@itemize
+@item the given object
+@item instance variables, class variables, constants
+@item Hash keys and values
+@item Enumerable members
+@item Struct members
+@item Data members
+@item Range begins and ends
+@end itemize")
+    (home-page "https://github.com/jaynetics/leto")
+    (license license:expat)))
+
 (define-public ruby-rubytest-cli
   (package
     (name "ruby-rubytest-cli")
-- 
2.49.0





This bug report was last modified 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.