Subject: [PATCH v3 03/90] gnu: ruby-3.3: Inherit from ruby-3.4.

From: Nicolas Graves <[email-masked]>
Date: Fri, 31 Jan 2025 07:52:58 +0100

* gnu/packages/ruby.scm (ruby-3.3): Move after ruby-3.4.
  [inherit]: Switch to ruby-3.4.
---
 gnu/packages/ruby.scm | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index de98a3c8b2..0299836a83 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -175,6 +175,20 @@ (define-public ruby-3.4
     (home-page "https://www.ruby-lang.org")
     (license license:ruby)))
 
+(define-public ruby-3.3
+  (package
+    (inherit ruby-3.4)
+    (version "3.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
+                           (version-major+minor version)
+                           "/ruby-" version ".tar.xz"))
+       (sha256
+        (base32
+         "07pwf3zkf7idl95agfjbv2lvamcp0spp0znqp9arb71ri19rkh43"))))))
+
 (define-public ruby-2.6
   (package
     (name "ruby")
@@ -335,20 +349,6 @@ (define-public ruby-3.2
      (modify-inputs (package-inputs ruby-3.1)
        (prepend libyaml)))))
 
-(define-public ruby-3.3
-  (package
-    (inherit ruby-3.2)
-    (version "3.3.3")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
-                           (version-major+minor version)
-                           "/ruby-" version ".tar.xz"))
-       (sha256
-        (base32
-         "07pwf3zkf7idl95agfjbv2lvamcp0spp0znqp9arb71ri19rkh43"))))))
-
 (define-public ruby ruby-3.1)
 
 (define-public mruby
-- 
2.48.1