summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorRyan Prior <rprior@protonmail.com>2020-12-25 17:57:26 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-29 18:51:15 +0000
commit03c51c04430405fe405a3640e6a4d1d248b702fc (patch)
tree827aa1cb094b2e6a1023f5ce7d244d218b6f931f /gnu/packages/ruby.scm
parent0c8bb20b7cbd39537999fce29979a6acaf64e601 (diff)
downloadguix-03c51c04430405fe405a3640e6a4d1d248b702fc.tar.gz
gnu: Add ruby-3.0.
* gnu/packages/ruby.scm (ruby-3.0): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/ruby.scm')
-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 5a89288166..c5b1af79d3 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -188,6 +188,20 @@ a focus on simplicity and productivity.")
     (native-inputs
      `(("autoconf" ,autoconf)))))
 
+(define-public ruby-3.0
+  (package
+    (inherit ruby-2.7)
+    (version "3.0.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
+         "1cbcixwnr0y8q0lg67wjgplp06kjd6p6hjjh680csv3v0bpsxgv8"))))))
+
 (define-public ruby-2.5
   (package
     (inherit ruby)