1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Adding iptraf 3.0.0 (the last iptraf I found, last updated in 2005)

It runs without complains if you "mkdir -p /var/run/iptraf /var/local/iptraf"

svn path=/nixpkgs/trunk/; revision=17752
This commit is contained in:
Lluís Batlle i Rossell 2009-10-12 10:52:47 +00:00
parent 9444b0f4a4
commit 71fab59b62
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{stdenv, fetchurl, ncurses}:
stdenv.mkDerivation rec {
name = "iptraf-3.0.0";
src = fetchurl {
url = ftp://iptraf.seul.org/pub/iptraf/iptraf-3.0.0.tar.gz;
sha256 = "0qsi5f8d84mgdszvz22acyv6mjnbrpk55d54km9i5mkkapck7r4y";
};
preConfigure = "cd src";
installPhase = ''
ensureDir $out/bin
cp iptraf $out/bin
'';
buildInputs = [ncurses];
meta = {
homepage = http://iptraf.seul.org/;
license = "GPLv2+";
description = "Console-based network statistics utility for Linux";
};
}

View file

@ -7137,6 +7137,10 @@ let
lua = lua5;
};
iptraf = import ../applications/networking/iptraf {
inherit fetchurl stdenv ncurses;
};
irssi = import ../applications/networking/irc/irssi {
inherit stdenv fetchurl pkgconfig ncurses openssl;
inherit (gtkLibs) glib;