diff options
author | Christopher Baines <mail@cbaines.net> | 2020-01-13 19:59:11 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-01-14 23:40:47 +0000 |
commit | 227fab3ed8842b22337196ee21c79143fc093855 (patch) | |
tree | 365cea832130d20c97c0b8e5db81871a9d6bd777 | |
parent | 4914c157fd3380dd25a1b00f5b44638943f6353b (diff) | |
download | guix-227fab3ed8842b22337196ee21c79143fc093855.tar guix-227fab3ed8842b22337196ee21c79143fc093855.tar.gz |
gnu: Add ruby-2.5.
* gnu/packages/ruby.scm (ruby-2.5): New variable.
-rw-r--r-- | gnu/packages/ruby.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ff1b63785c..50758d204b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -131,6 +131,25 @@ a focus on simplicity and productivity.") (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) |