gnu: Rename ruby to ruby-2.6.

* gnu/packages/ruby.scm (ruby): Rename to ruby-2.6.
(ruby-2.7): Inherit from ruby-2.6.
(ruby-2.5): Inherit from ruby-2.6.
(ruby-2.4): Inherit from ruby-2.6.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Ryan Prior 2020-06-21 03:02:26 +00:00 committed by Christopher Baines
parent eeef77d9d3
commit fbf09494db
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -75,7 +75,7 @@
#:use-module (guix build-system ruby)
#:use-module ((srfi srfi-1) #:select (alist-delete)))
(define-public ruby
(define-public ruby-2.6
(package
(name "ruby")
(version "2.6.5")
@ -133,7 +133,7 @@ a focus on simplicity and productivity.")
(define-public ruby-2.7
(package
(inherit ruby)
(inherit ruby-2.6)
(version "2.7.1")
(source
(origin
@ -176,7 +176,7 @@ a focus on simplicity and productivity.")
(define-public ruby-2.5
(package
(inherit ruby)
(inherit ruby-2.6)
(version "2.5.8")
(source
(origin
@ -195,7 +195,7 @@ a focus on simplicity and productivity.")
(define-public ruby-2.4
(package
(inherit ruby)
(inherit ruby-2.6)
(version "2.4.10")
(source
(origin
@ -212,6 +212,8 @@ a focus on simplicity and productivity.")
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
#t))))))
(define-public ruby ruby-2.6)
(define-public mruby
(package
(name "mruby")