unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Ruby 2.4.0 update
@ 2016-12-25 17:09 Marius Bakke
  2016-12-26 13:18 ` Ben Woodcroft
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2016-12-25 17:09 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 617 bytes --]

In good tradition, ruby made a new release today (25/12)[0].

I tried building some packages with the new version, but ruby-minitest
complains that Rake 12 is too new (even with the latest minitest). There
have been some core changes as well, with Fixnum and Bignum now merged
into a single Integer class.

I suggest that we keep ruby 2.3 as the main "ruby" variable until the
ecosystem catches up. Users will still get the latest version when
using `guix package` or `guix environment`. WDYT?

Patch attached. Not sure about the commit message.

0: https://www.ruby-lang.org/en/news/2016/12/25/ruby-2-4-0-released/


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-ruby-Update-to-2.4.0.patch --]
[-- Type: text/x-patch, Size: 1216 bytes --]

From 6f029cbaedf273febef92e9c4197c55414b818d5 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Sun, 25 Dec 2016 18:07:47 +0100
Subject: [PATCH] gnu: ruby: Update to 2.4.0.

* gnu/packages/ruby.scm (ruby-2.4): New variable.
---
 gnu/packages/ruby.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c87f8b309..dee98c236 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -100,6 +100,20 @@ a focus on simplicity and productivity.")
     (home-page "https://ruby-lang.org")
     (license license:ruby)))
 
+(define-public ruby-2.4
+  (package (inherit ruby)
+           (replacement #f)
+           (version "2.4.0")
+           (source
+            (origin
+              (method url-fetch)
+              (uri (string-append "https://cache.ruby-lang.org/pub/ruby/"
+                                  (version-major+minor version)
+                                  "/ruby-" version ".tar.xz"))
+              (sha256
+               (base32
+                "141nnsdk2q83c23p5kl404id8gy1ap261gin48rbjj5sbksgx1rs"))))))
+
 (define-public ruby-2.2
   (package (inherit ruby)
     (replacement #f)
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-05 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-25 17:09 Ruby 2.4.0 update Marius Bakke
2016-12-26 13:18 ` Ben Woodcroft
2017-01-05 11:16   ` Ben Woodcroft
2017-01-05 13:20     ` Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).