2013-05-12 14:03:24 +02:00
|
|
|
{ stdenv, fetchurl, ncurses, libpcap }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tcptrack-${version}";
|
|
|
|
version = "1.4.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
# TODO: find better URL
|
|
|
|
url = http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/tcptrack-1.4.2.tar.gz;
|
|
|
|
sha256 = "0jbh20kjaqdiasy5s9dk53dv4vpnbh31kqcmhwz9vi3qqzhv21v6";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses libpcap ];
|
|
|
|
|
2014-11-26 23:37:50 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
|
|
|
|
2013-05-20 19:33:18 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-12 14:03:24 +02:00
|
|
|
description = "libpcap based program for live TCP connection monitoring";
|
|
|
|
homepage = http://www.rhythm.cx/~steve/devel/tcptrack/; # dead link
|
2013-05-20 19:33:18 +02:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2014-01-02 17:53:57 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2013-05-12 14:03:24 +02:00
|
|
|
};
|
|
|
|
}
|