From a75bdfcec340cbb9d240b542e09ffb3d32ea658d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 24 Nov 2015 16:52:10 +0100 Subject: [PATCH] gnu: Add ruby-pry-editline. * gnu/packages/ruby.scm (ruby-pry-editline): 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 a01eefc2ed..d0f6fe971d 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1809,6 +1809,27 @@ (define-public ruby-rb-inotify (home-page "https://github.com/nex3/rb-inotify") (license license:expat))) +(define-public ruby-pry-editline + (package + (name "ruby-pry-editline") + (version "1.1.2") + (source (origin + (method url-fetch) + (uri (rubygems-uri "pry-editline" version)) + (sha256 + (base32 + "1pjxyvdxvw41xw3yyl18pwzix8hbvn6lgics7qcfhjfsf1zs8x1z")))) + (build-system ruby-build-system) + (arguments `(#:tests? #f)) ; no tests included + (native-inputs + `(("bundler" ,bundler))) + (synopsis "Open the current REPL line in an editor") + (description + "This gem provides a plugin for the Ruby REPL to enable opening the +current line in an external editor.") + (home-page "https://github.com/tpope/pry-editline") + (license license:expat))) + (define-public ruby-json (package (name "ruby-json")