From 800a7dd59e39f6717231353c27984d080e261f63 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Sun, 2 Apr 2017 08:18:21 +1000 Subject: gnu: ruby: Replace with ruby-2.3.4. * gnu/packages/ruby.scm (ruby)[replacement]: New field. (ruby-2.3.4): New variable. --- gnu/packages/ruby.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e09850f038..211f641989 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -49,6 +49,7 @@ (package (name "ruby") (version "2.3.3") + (replacement ruby-2.3.4) (source (origin (method url-fetch) @@ -101,6 +102,26 @@ a focus on simplicity and productivity.") (home-page "https://ruby-lang.org") (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 (package (inherit ruby) (replacement #f) -- cgit v1.2.3