Subject: bug#71559: closed (Re: Ruby without RVM - what to do if the version I want is missing?)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 16 Jun 2024 10:29:02 +0000

Your bug report

#71559: [PATCH] gnu: Add ruby-3.3.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
71559: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71559
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: Ruby without RVM - what to do if the version I want is missing?
From: Andreas Enge <[email-masked]>
To: Daniel Littlewood <[email-masked]>
Cc: [email-masked], Christopher Baines <[email-masked]>, help-guix <[email-masked]>
Date: Sun, 16 Jun 2024 12:27:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Am Fri, Jun 14, 2024 at 07:36:07PM +0200 schrieb Andreas Enge:
> (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"))))))
> I have sent this patch, see
>    https://issues.guix.gnu.org/71559

QA has given the green light, so I have pushed this new version to master.
You should see it after a "guix pull".

Andreas

Subject: [PATCH] gnu: Add ruby-3.3.
From: Andreas Enge <[email-masked]>
To: [email-masked]
Cc: Andreas Enge <[email-masked]>
Date: Fri, 14 Jun 2024 19:24:45 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ruby.scm (ruby-3.3): New variable.

Change-Id: Ie26b97fdcea75e7eddabb2dba3fc91882be41b34
---
 gnu/packages/ruby.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5c1e666bb0..9547481caf 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -292,6 +292,20 @@ (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

base-commit: 7770e4140cddd5dc9c9879cb2bfcbd6cd4de59a0
-- 
2.45.1