unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60309] [PATCH] gnu: ruby: Add ruby-3.2.
@ 2022-12-25 12:33 Remco van 't Veer
  2022-12-27 22:33 ` bug#60309: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Remco van 't Veer @ 2022-12-25 12:33 UTC (permalink / raw)
  To: 60309; +Cc: Remco van 't Veer

* gnu/packages/ruby.scm (ruby-3.2): New variable.
---
 gnu/packages/ruby.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c0eae1d57a..c0fd53ac14 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -81,6 +81,7 @@ (define-module (gnu packages ruby)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages serialization)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -236,6 +237,23 @@ (define-public ruby-3.1
         (base32
          "06ipqz45qcs0y1273gk2gwslxwd7jgighz3mzbddzg16k29n3qaf"))))))
 
+(define-public ruby-3.2
+  (package
+    (inherit ruby-3.1)
+    (version "3.2.0")
+    (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
+         "1d18ifvdbf21cncpany948vc2gjw3qa36ck9b4i97pg60rrmgx6j"))))
+    (inputs
+     (modify-inputs (package-inputs ruby-3.1)
+       (prepend libyaml)))))
+
 (define-public ruby ruby-2.7)
 
 (define-public mruby
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#60309: [PATCH] gnu: ruby: Add ruby-3.2.
  2022-12-25 12:33 [bug#60309] [PATCH] gnu: ruby: Add ruby-3.2 Remco van 't Veer
@ 2022-12-27 22:33 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-12-27 22:33 UTC (permalink / raw)
  To: Remco van 't Veer; +Cc: 60309-done

Hi,

Remco van 't Veer <remco@remworks.net> skribis:

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

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-27 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25 12:33 [bug#60309] [PATCH] gnu: ruby: Add ruby-3.2 Remco van 't Veer
2022-12-27 22:33 ` bug#60309: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).