From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyD0I-0005EV-Fc for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyD0H-0007N4-1Y for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyD0G-0007Mc-TR for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyD0G-0000fd-Mm for guix-patches@gnu.org; Sat, 30 Sep 2017 04:20:04 -0400 Subject: [bug#28583] [PATCH 6/8] gnu: Add ruby-progress_bar. Resent-Message-ID: From: Christopher Baines Date: Sat, 30 Sep 2017 09:19:33 +0100 Message-Id: <20170930081935.19671-6-mail@cbaines.net> In-Reply-To: <20170930081935.19671-1-mail@cbaines.net> References: <20170930081935.19671-1-mail@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28583@debbugs.gnu.org * gnu/packages/ruby.scm (ruby-progress_bar): New variable. --- gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index d6aa59099..3b0a67b9d 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -2111,6 +2111,37 @@ for select languages.") (home-page "http://coderay.rubychan.de") (license license:expat))) +(define-public ruby-progress_bar + (package + (name "ruby-progress_bar") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "progress_bar" version)) + (sha256 + (base32 + "1qc40mr6p1z9a3vlpnsg1zfgk1qswviql2a31y63wpv3vr6b5f48")))) + (build-system ruby-build-system) + (arguments + '(#:test-target "spec")) + (propagated-inputs + `(("ruby-highline" ,ruby-highline) + ("ruby-options" ,ruby-options))) + (native-inputs + `(("bundler" ,bundler) + ("ruby-rspec" ,ruby-rspec) + ("ruby-timecop" ,ruby-timecop))) + (synopsis + "Ruby library for displaying progress bars") + (description + "ProgressBar is a simple library for displaying progress bars. The +maximum value is configurable, and additional information can be displayed +like the percentage completion, estimated time remaining, elapsed time and +rate.") + (home-page "https://github.com/paul/progress_bar") + (license license:wtfpl2))) + (define-public ruby-pry (package (name "ruby-pry") -- 2.14.1