guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: ruby: Replace with ruby-2.3.4.


From: Ben Woodcroft
Subject: 02/02: gnu: ruby: Replace with ruby-2.3.4.
Date: Sat, 1 Apr 2017 18:28:29 -0400 (EDT)

benwoodcroft pushed a commit to branch master
in repository guix.

commit 800a7dd59e39f6717231353c27984d080e261f63
Author: Ben Woodcroft <address@hidden>
Date:   Sun Apr 2 08:18:21 2017 +1000

    gnu: ruby: Replace with ruby-2.3.4.
    
    * gnu/packages/ruby.scm (ruby)[replacement]: New field.
    (ruby-2.3.4): New variable.
---
 gnu/packages/ruby.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e09850f..211f641 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -49,6 +49,7 @@
   (package
     (name "ruby")
     (version "2.3.3")
+    (replacement ruby-2.3.4)
     (source
      (origin
        (method url-fetch)
@@ -101,6 +102,26 @@ a focus on simplicity and productivity.")
     (home-page "https://ruby-lang.org";)
     (license license:ruby)))
 
+(define ruby-2.3.4
+  (package
+    (inherit ruby)
+    (name "ruby")
+    (version "2.3.4")
+    (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
+         "132p5kc1sx97svbx04g40pz5pr7p8f6jlmnq5r2prlcz5q1xj71l"))
+       (modules '((guix build utils)))
+       (snippet `(begin
+                   ;; Remove bundled libffi
+                   (delete-file-recursively "ext/fiddle/libffi-3.2.1")
+                   #t))))))
+
 (define-public ruby-2.2
   (package (inherit ruby)
     (replacement #f)



reply via email to

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