guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/12: gnu: Add ruby-2.5.


From: guix-commits
Subject: 12/12: gnu: Add ruby-2.5.
Date: Tue, 14 Jan 2020 18:47:42 -0500 (EST)

cbaines pushed a commit to branch core-updates
in repository guix.

commit 227fab3ed8842b22337196ee21c79143fc093855
Author: Christopher Baines <address@hidden>
AuthorDate: Mon Jan 13 19:59:11 2020 +0000

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ff1b637..50758d2 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]