guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: ruby: Add ruby-3.1.


From: guix-commits
Subject: 01/02: gnu: ruby: Add ruby-3.1.
Date: Tue, 1 Mar 2022 17:28:00 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 070cc513781bd847df1c95682164f4f50da88bbb
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Mar 1 18:40:30 2022 +0000

    gnu: ruby: Add ruby-3.1.
    
    * gnu/packages/ruby.scm (ruby-3.1): 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 121948b4fc..21b982d4a9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -200,6 +200,20 @@ a focus on simplicity and productivity.")
         (base32
          "0h2w2ms4gx2s96v3lzdr3add94bd2qqkhdjzaycmaqhg21rpf3jp"))))))
 
+(define-public ruby-3.1
+  (package
+    (inherit ruby-2.7)
+    (version "3.1.1")
+    (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
+         "1akcl7vhmwfm6ybj7493kzy58ykh2r39ri9f4xfm2xmhg1msmvvs"))))))
+
 (define-public ruby-2.5
   (package
     (inherit ruby-2.6)



reply via email to

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