summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-03-01 18:40:30 +0000
committerChristopher Baines <mail@cbaines.net>2022-03-01 21:44:38 +0000
commit070cc513781bd847df1c95682164f4f50da88bbb (patch)
tree9d7fa89e2ac84d4217ca99845664a3f8a1045f00 /gnu/packages
parent22525731fdbfeebfc51d17dc6674a92d75383213 (diff)
downloadguix-070cc513781bd847df1c95682164f4f50da88bbb.tar.gz
gnu: ruby: Add ruby-3.1.
* gnu/packages/ruby.scm (ruby-3.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 121948b4fc..21b982d4a9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -200,6 +200,20 @@ a focus on simplicity and productivity.")
         (base32
          "0h2w2ms4gx2s96v3lzdr3add94bd2qqkhdjzaycmaqhg21rpf3jp"))))))
 
+(define-public ruby-3.1
+  (package
+    (inherit ruby-2.7)
+    (version "3.1.1")
+    (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
+         "1akcl7vhmwfm6ybj7493kzy58ykh2r39ri9f4xfm2xmhg1msmvvs"))))))
+
 (define-public ruby-2.5
   (package
     (inherit ruby-2.6)