summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaes Wallin <claes.wallin@greatsinodevelopment.com>2015-06-19 20:12:09 +0200
committerAlex Kost <alezost@gmail.com>2015-06-27 17:27:49 +0300
commit60def646bb642b3af4abeda6cec9ca22ed00a72e (patch)
tree06258ac2b6fd87bb55c8266133742b841c1eb092
parentc92f1c0a3315557f072702aa64615cd4ff73fe36 (diff)
downloadguix-60def646bb642b3af4abeda6cec9ca22ed00a72e.tar.gz
gnu: Add pv.
 * gnu/package/pv.scm (pv): New file.
 * gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Alex Kost <alezost@gmail.com>
-rw-r--r--gnu-system.am1
-rw-r--r--gnu/packages/pv.scm46
2 files changed, 47 insertions, 0 deletions
diff --git a/gnu-system.am b/gnu-system.am
index a420d71a2f..2adffd593c 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -253,6 +253,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/pumpio.scm			\
   gnu/packages/pretty-print.scm			\
   gnu/packages/protobuf.scm			\
+  gnu/packages/pv.scm				\
   gnu/packages/python.scm			\
   gnu/packages/qemu.scm				\
   gnu/packages/qt.scm				\
diff --git a/gnu/packages/pv.scm b/gnu/packages/pv.scm
new file mode 100644
index 0000000000..9328da3533
--- /dev/null
+++ b/gnu/packages/pv.scm
@@ -0,0 +1,46 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Claes Wallin <claes.wallin@greatsinodevelopment.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages pv)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public pv
+  (package
+    (name "pv")
+    (version "1.6.0")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "http://www.ivarch.com/programs/sources/pv-"
+                          version ".tar.bz2"))
+      (sha256
+       (base32
+        "13gg6r84pkvznpd1l11qw1jw9yna40gkgpni256khyx21m785khf"))))
+    (build-system gnu-build-system)
+    (home-page "http://www.ivarch.com/programs/pv.shtml")
+    (synopsis "Pipeline progress indicator")
+    (description
+     "pv (Pipe Viewer) is a terminal-based tool for monitoring the progress
+of data through a pipeline.  It can be inserted into any normal pipeline
+between two processes to give a visual indication of how quickly data is
+passing through, how long it has taken, how near to completion it is, and an
+estimate of how long it will be until completion.")
+    (license artistic2.0)))