aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-01-13 19:59:11 +0000
committerChristopher Baines <mail@cbaines.net>2020-01-13 20:01:02 +0000
commitad1be3f9fab800f22c127b25a65589c3a54896f3 (patch)
tree8e6bed9b83edebdbf82cef81b3813649f56145cc /gnu
parent6e318e1b4b0fd23e65607d4c606cc08c16750889 (diff)
downloadguix-ad1be3f9fab800f22c127b25a65589c3a54896f3.tar
guix-ad1be3f9fab800f22c127b25a65589c3a54896f3.tar.gz
gnu: Add ruby-2.5.ruby-2.6
* gnu/packages/ruby.scm (ruby-2.5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a4def037f2..68634d8100 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -129,6 +129,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)