gnu: ruby: Add ruby-3.1.

* gnu/packages/ruby.scm (ruby-3.1): New variable.
This commit is contained in:
Christopher Baines 2022-03-01 18:40:30 +00:00
parent 22525731fd
commit 070cc51378
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

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