summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRemco van 't Veer <remco@remworks.net>2022-12-25 13:33:22 +0100
committerLudovic Courtès <ludo@gnu.org>2022-12-27 23:53:41 +0100
commite4f39ace86412f0c7cad999778b796abc13b1689 (patch)
tree66d78c8b05a419b63b560e2108ebeaad362f8926 /gnu/packages
parenta4461df9b2bd4695f0987efe27b62926924e89f1 (diff)
downloadguix-e4f39ace86412f0c7cad999778b796abc13b1689.tar.gz
gnu: ruby: Add ruby-3.2.
* gnu/packages/ruby.scm (ruby-3.2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm18
1 files changed, 18 insertions, 0 deletions
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 @@
   #: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 @@ a focus on simplicity and productivity.")
         (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