gnu: Add ruby-3.0.

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

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Ryan Prior 2020-12-25 17:57:26 +00:00 committed by Christopher Baines
parent 0c8bb20b7c
commit 03c51c0443
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -188,6 +188,20 @@ (define-public ruby-2.7
(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)