summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 15:52:22 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:51 -0500
commit0d54bd259c63b0f5c54743cde5dd9812c8a8e3bd (patch)
treec9d098cbccebe62860c314e31588574c245d351e
parent4dbac597ebd322ed1b3c851e3e657407a4b41f23 (diff)
downloadguix-0d54bd259c63b0f5c54743cde5dd9812c8a8e3bd.tar.gz
gnu: Add Term-ProgressBar-Quiet.
* gnu/packages/perl.scm (perl-term-progressbar-quiet): New variable.
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index efa94beab6..b11b825c37 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4391,6 +4391,31 @@ terminal, to let the user know that something is happening, roughly how much
 stuff has been done, and maybe an estimate at how long remains.")
     (license (package-license perl))))
 
+(define-public perl-term-progressbar-quiet
+  (package
+    (name "perl-term-progressbar-quiet")
+    (version "0.31")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
+                           "Term-ProgressBar-Quiet-" version ".tar.gz"))
+       (sha256
+        (base32
+         "19l4476iinwz19vh360k3rss38m9gmkg633i5v9jkg48yn954rr5"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-io-interactive" ,perl-io-interactive)
+       ("perl-term-progressbar" ,perl-term-progressbar)
+       ("perl-test-mockobject" ,perl-test-mockobject)))
+    (home-page "http://search.cpan.org/dist/Term-ProgressBar-Quiet")
+    (synopsis "Progress meter if run interactively")
+    (description "Term::ProgressBar is a wonderful module for showing progress
+bars on the terminal.  This module acts very much like that module when it is
+run interactively. However, when it is not run interactively (for example, as
+a cron job) then it does not show the progress bar.")
+    (license (package-license perl))))
+
 (define-public perl-term-readkey
   (package
     (name "perl-term-readkey")