guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add iftop.


From: Leo Famulari
Subject: 01/01: gnu: Add iftop.
Date: Fri, 22 Jan 2016 01:44:03 +0000

lfam pushed a commit to branch master
in repository guix.

commit 765973cd651d597bf9cd42ea05b50c5a8ebee2f3
Author: Leo Famulari <address@hidden>
Date:   Thu Jan 21 20:21:19 2016 -0500

    gnu: Add iftop.
    
    * gnu/packages/admin.scm (iftop): New variable.
---
 gnu/packages/admin.scm |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6e78350..953c5b4 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <address@hidden>
 ;;; Copyright © 2015 Alex Sassmannshausen <address@hidden>
 ;;; Copyright © 2015 Eric Dvorsak <address@hidden>
+;;; Copyright © 2016 Leo Famulari <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1377,3 +1378,25 @@ command that learns\".  It works by maintaining a 
database of the directories
 you use the most from the command line and allows you to \"jump\" to
 frequently used directories by typing only a small pattern.")
     (license license:gpl3+)))
+
+(define-public iftop
+  (package
+    (name "iftop")
+    (version "1.0pre4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append 
"http://www.ex-parrot.com/~pdw/iftop/download";
+                                  "/iftop-" version ".tar.gz"))
+              (sha256
+               (base32
+                "15sgkdyijb7vbxpxjavh5qm5nvyii3fqcg9mzvw7fx8s6zmfwczp"))))
+    (build-system gnu-build-system)
+    (inputs
+      `(("libpcap" ,libpcap)
+        ("ncurses" ,ncurses)))
+    (synopsis "Monitor network usage")
+    (description "Iftop does for network usage what @command{top} does
+for CPU usage.  It listens to network traffic on a named interface and
+displays a table of current bandwidth usage by pairs of hosts.")
+    (home-page "http://www.ex-parrot.com/~pdw/iftop/";)
+    (license license:gpl3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]