forked from mirrors/nixpkgs
added eggdrop, iftop
svn path=/nixpkgs/trunk/; revision=17710
This commit is contained in:
parent
5fe030ee0a
commit
6132b946ac
23
pkgs/tools/networking/eggdrop/default.nix
Normal file
23
pkgs/tools/networking/eggdrop/default.nix
Normal 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";
|
||||
}
|
19
pkgs/tools/networking/iftop/default.nix
Normal file
19
pkgs/tools/networking/iftop/default.nix
Normal 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/;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue