gnu: ruby: Replace with ruby-2.3.4.

* gnu/packages/ruby.scm (ruby)[replacement]: New field.
(ruby-2.3.4): New variable.
This commit is contained in:
Ben Woodcroft 2017-04-02 08:18:21 +10:00
parent 22a494ec25
commit 800a7dd59e
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 21 additions and 0 deletions

View File

@ -49,6 +49,7 @@
(package (package
(name "ruby") (name "ruby")
(version "2.3.3") (version "2.3.3")
(replacement ruby-2.3.4)
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -101,6 +102,26 @@ a focus on simplicity and productivity.")
(home-page "https://ruby-lang.org") (home-page "https://ruby-lang.org")
(license license:ruby))) (license license:ruby)))
(define ruby-2.3.4
(package
(inherit ruby)
(name "ruby")
(version "2.3.4")
(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
"132p5kc1sx97svbx04g40pz5pr7p8f6jlmnq5r2prlcz5q1xj71l"))
(modules '((guix build utils)))
(snippet `(begin
;; Remove bundled libffi
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
#t))))))
(define-public ruby-2.2 (define-public ruby-2.2
(package (inherit ruby) (package (inherit ruby)
(replacement #f) (replacement #f)