mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: Add ruby-2.5.
* gnu/packages/ruby.scm (ruby-2.5): New variable.
This commit is contained in:
parent
4914c157fd
commit
227fab3ed8
1 changed files with 19 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue