summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 15:30:50 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:51 -0500
commitcc307bda85f410f14258723c65413daf95820e41 (patch)
tree33e257e625c0ad824f30be63ae4ab54ed097dbeb
parent70fe0008f7cd011f3f3c685c14341347f6bb5abe (diff)
downloadguix-cc307bda85f410f14258723c65413daf95820e41.tar.gz
gnu: Add Term-ProgressBar.
* gnu/packages/perl.scm (perl-term-progressbar): New variable.
-rw-r--r--gnu/packages/perl.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a4c666cc33..f37f962385 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4365,6 +4365,32 @@ processing in Perl code.")
 the current terminal expects in various ways.")
     (license (package-license perl))))
 
+(define-public perl-term-progressbar
+  (package
+    (name "perl-term-progressbar")
+    (version "2.17")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
+                           "Term-ProgressBar-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15pn42zf793dplpfnmawh7v7xc4qm38s1jhvn1agx4cafcn61q61"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-capture-tiny" ,perl-capture-tiny)
+       ("perl-test-exception" ,perl-test-exception)))
+    (propagated-inputs
+     `(("perl-class-methodmaker" ,perl-class-methodmaker)
+       ("perl-term-readkey" ,perl-term-readkey)))
+    (home-page "http://search.cpan.org/dist/Term-ProgressBar")
+    (synopsis "Progress meter on a standard terminal")
+    (description "Term::ProgressBar provides a simple progress bar on the
+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-readkey
   (package
     (name "perl-term-readkey")