all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Adding iftop
@ 2016-01-21  7:24 Leo Famulari
  2016-01-21  7:24 ` [PATCH 1/1] gnu: Add iftop Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-01-21  7:24 UTC (permalink / raw)
  To: guix-devel

This is an ncurses network monitor.

It is a "prerelease" release but the last non-"prerelease" did not
support ipv6. Debian has packaged this series since Wheezy.

Leo Famulari (1):
  gnu: Add iftop.

 gnu/packages/admin.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

-- 
2.7.0.rc3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] gnu: Add iftop.
  2016-01-21  7:24 [PATCH 0/1] Adding iftop Leo Famulari
@ 2016-01-21  7:24 ` Leo Famulari
  2016-01-21 21:39   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-01-21  7:24 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6e78350..4e0473c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2015 Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
+;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; 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 top(1) 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)))
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] gnu: Add iftop.
  2016-01-21  7:24 ` [PATCH 1/1] gnu: Add iftop Leo Famulari
@ 2016-01-21 21:39   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-01-21 21:39 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari <leo@famulari.name> skribis:

> * gnu/packages/admin.scm (iftop): New variable.

> +    (description "Iftop does for network usage what top(1) does for CPU usage.

I would s/top(1)/@command{top}/.

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-21 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-21  7:24 [PATCH 0/1] Adding iftop Leo Famulari
2016-01-21  7:24 ` [PATCH 1/1] gnu: Add iftop Leo Famulari
2016-01-21 21:39   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.