1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/networking/iftop/default.nix
Lluís Batlle i Rossell bb0351b562 Making iftop build on the fuloong (config.guess.)
svn path=/nixpkgs/branches/stdenv-updates/; revision=24036
2010-10-03 09:18:55 +00:00

24 lines
677 B
Nix

{stdenv, fetchurl, ncurses, libpcap, automake}:
stdenv.mkDerivation rec {
name = "iftop-0.17";
src = fetchurl {
url = http://ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz;
sha256 = "1b0fis53280qx85gldhmqfcpgyiwplzg43gxyngia1w3f1y58cnh";
};
preConfigure = ''
cp ${automake}/share/automake*/config.{sub,guess} config
'';
buildInputs = [ncurses libpcap];
meta = {
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.";
license = "GPLv2+";
homepage = http://ex-parrot.com/pdw/iftop/;
};
}