diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2017-04-02 08:18:21 +1000 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2017-04-02 08:21:43 +1000 |
commit | 800a7dd59e39f6717231353c27984d080e261f63 (patch) | |
tree | c399b7d82f303c4b110400d7aeb837801dd420e8 /gnu | |
parent | 22a494ec25686a7a135ddc7807046e0bf049e5fb (diff) | |
download | guix-800a7dd59e39f6717231353c27984d080e261f63.tar.gz |
gnu: ruby: Replace with ruby-2.3.4.
* gnu/packages/ruby.scm (ruby)[replacement]: New field. (ruby-2.3.4): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 21 |
1 files changed, 21 insertions, 0 deletions
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) |