gnu: Add ruby-2.5.

* gnu/packages/ruby.scm (ruby-2.5): New variable.
This commit is contained in:
Christopher Baines 2020-01-13 19:59:11 +00:00
parent 4914c157fd
commit 227fab3ed8
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -131,6 +131,25 @@ (define-public ruby
(home-page "https://www.ruby-lang.org")
(license license:ruby)))
(define-public ruby-2.5
(package
(inherit ruby)
(version "2.5.7")
(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
"159zka4sbx1p4ayxqi7a5ybbzxvn3n5mivrz4d1damw9ypl70610"))
(modules '((guix build utils)))
(snippet `(begin
;; Remove bundled libffi
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
#t))))))
(define-public ruby-2.4
(package
(inherit ruby)