guix-commits
[Top][All Lists]
Advanced

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

123/229: gnu: Add ruby-irb.


From: guix-commits
Subject: 123/229: gnu: Add ruby-irb.
Date: Tue, 28 Mar 2023 22:29:12 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 067c4df6f3a4359b40043006975c7534411e2fce
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jan 9 14:14:08 2023 -0500

    gnu: Add ruby-irb.
    
    * gnu/packages/ruby.scm (ruby-irb): 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 f633ee1131..4d638cc3f7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -540,6 +540,27 @@ an extensible architecture with a swappable backend.")
     (home-page "https://github.com/ruby/io-console";)
     (license license:bsd-2)))
 
+(define-public ruby-irb
+  (package
+    (name "ruby-irb")
+    (version "1.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "irb" version))
+              (sha256
+               (base32
+                "1h9s07n5v3z029v18924ws9vdkdc80n6llp9ccx77yg1krv2g0f3"))))
+    (build-system ruby-build-system)
+    ;; XXX: Disable the test suite, as it requires debug, which requires this
+    ;; package (dependency cycle).
+    (arguments (list #:tests? #f))
+    (propagated-inputs (list ruby-reline))
+    (synopsis "Ruby command-line tool for REPL (Read Eval Print Loop)")
+    (description "IRB is an interactive Ruby command-line tool for REPL (Read
+Eval Print Loop).")
+    (home-page "https://github.com/ruby/irb";)
+    (license license:bsd-2)))
+
 (define-public ruby-iruby
   (package
     (name "ruby-iruby")



reply via email to

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