mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby: Add ruby 2.5.
* gnu/packages/ruby.scm (ruby)[version]: Update to 2.5.1. [source]: Remove the Ruby 2.4 patch, and update sha256. (ruby-2.4): New variable.
This commit is contained in:
parent
aea3ec0f72
commit
93cae02fb7
1 changed files with 22 additions and 3 deletions
|
@ -54,7 +54,7 @@
|
||||||
(define-public ruby
|
(define-public ruby
|
||||||
(package
|
(package
|
||||||
(name "ruby")
|
(name "ruby")
|
||||||
(version "2.4.3")
|
(version "2.5.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -63,8 +63,7 @@
|
||||||
"/ruby-" version ".tar.xz"))
|
"/ruby-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0l9bv67dgsphk42lmiskhrnh47hbyj6rfg2rcjx22xivpx07srr3"))
|
"0kbm3gkv689d1mb8fh261z8s79d6hw07p0xyk735yfqyskpcasl8"))
|
||||||
(patches (search-patches "ruby-rubygems-276-for-ruby24.patch"))
|
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet `(begin
|
(snippet `(begin
|
||||||
;; Remove bundled libffi
|
;; Remove bundled libffi
|
||||||
|
@ -106,6 +105,26 @@ a focus on simplicity and productivity.")
|
||||||
(home-page "https://www.ruby-lang.org")
|
(home-page "https://www.ruby-lang.org")
|
||||||
(license license:ruby)))
|
(license license:ruby)))
|
||||||
|
|
||||||
|
(define-public ruby-2.4
|
||||||
|
(package
|
||||||
|
(inherit ruby)
|
||||||
|
(version "2.4.3")
|
||||||
|
(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
|
||||||
|
"0l9bv67dgsphk42lmiskhrnh47hbyj6rfg2rcjx22xivpx07srr3"))
|
||||||
|
(patches (search-patches "ruby-rubygems-276-for-ruby24.patch"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet `(begin
|
||||||
|
;; Remove bundled libffi
|
||||||
|
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
|
||||||
|
#t))))))
|
||||||
|
|
||||||
(define-public ruby-2.3
|
(define-public ruby-2.3
|
||||||
(package
|
(package
|
||||||
(inherit ruby)
|
(inherit ruby)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue