From 15dc45f4649ca13dd36b41c2231b579e9a2edcad Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 5 Feb 2018 11:57:45 +0100 Subject: gnu: Add ruby-ruby-progressbar. --- gnu/packages/ruby.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 81af9e4b19..4dea344f7e 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -5312,3 +5312,33 @@ adds support for IRIs and URI templates.") ("ruby-thor" ,ruby-thor))) (native-inputs `()))) + +;; There is a separate gem called 'progressbar', so we name the package here +;; 'ruby-ruby-progressbar'. +(define-public ruby-ruby-progressbar + (package + (name "ruby-ruby-progressbar") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "ruby-progressbar" version)) + (sha256 + (base32 + "1qzc7s7r21bd7ah06kskajc2bjzkr9y0v5q48y0xwh2l55axgplm")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; Tests require further dependencies such as 'rspectacular'. + (synopsis + "Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby. +The output can be customized with a flexible formatting system including: +percentage, bars of various formats, elapsed time and estimated time remaining. +") + (description + "Ruby/ProgressBar is an extremely flexible text progress bar library for Ruby. +The output can be customized with a flexible formatting system including: +percentage, bars of various formats, elapsed time and estimated time remaining. +") + (home-page + "https://github.com/jfelchner/ruby-progressbar") + (license license:expat))) -- cgit v1.2.3