3
0
Fork 0
forked from mirrors/nixpkgs

added eggdrop, iftop

svn path=/nixpkgs/trunk/; revision=17710
This commit is contained in:
Rob Vermaas 2009-10-08 07:01:55 +00:00
parent 5fe030ee0a
commit 6132b946ac
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{stdenv, fetchurl, tcl}:
stdenv.mkDerivation {
name = "eggdrop-1.6.19";
src = fetchurl {
url = ftp://ftp.eggheads.org/pub/eggdrop/GNU/1.6/eggdrop1.6.19+ctcpfix.tar.gz;
sha256 = "1lpa6sqwizn8y30i14559j3427vi743pmsxjq9g70x4m71hmshvi";
};
buildInputs = [tcl];
preConfigure = ''
prefix=$out/eggdrop
ensureDir $prefix
'';
postConfigure = ''
make config
'';
configureFlags = "--with-tcllib=${tcl}/lib/libtcl8.5.so --with-tclinc=${tcl}/include/tcl.h";
}

View file

@ -0,0 +1,19 @@
{stdenv, fetchurl, ncurses, libpcap}:
stdenv.mkDerivation rec {
name = "iftop-0.17";
src = fetchurl {
url = http://ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz;
sha256 = "1b0fis53280qx85gldhmqfcpgyiwplzg43gxyngia1w3f1y58cnh";
};
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/;
};
}

View file

@ -470,6 +470,10 @@ let
inherit fetchurl stdenv perl;
};
eggdrop = import ../tools/networking/eggdrop {
inherit fetchurl stdenv tcl;
};
mcrl = import ../tools/misc/mcrl {
inherit fetchurl stdenv coreutils;
};
@ -935,6 +939,10 @@ let
inherit fetchurl stdenv emacs;
};
iftop = import ../tools/networking/iftop {
inherit fetchurl stdenv ncurses libpcap;
};
imapsync = import ../tools/networking/imapsync {
inherit fetchurl stdenv perl openssl;
inherit (perlPackages) MailIMAPClient;