2016-06-26 02:45:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, ncurses, libpcap }:
|
2013-05-12 13:03:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tcptrack-${version}";
|
2016-06-26 02:45:40 +01:00
|
|
|
version = "1.4.3";
|
2013-05-12 13:03:24 +01:00
|
|
|
|
2016-06-26 02:45:40 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bchretien";
|
|
|
|
repo = "tcptrack";
|
|
|
|
rev = "d05fe08154ff1e46578e92be49e4cfa2c6543283";
|
|
|
|
sha256 = "08lh3l67wn4kq9q0nfspc7rj0jvp9dzwjgxpvqliwcif8cy5mi45";
|
2013-05-12 13:03:24 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses libpcap ];
|
|
|
|
|
2014-11-26 22:37:50 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
|
|
|
|
2013-05-20 18:33:18 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-26 02:45:40 +01:00
|
|
|
inherit (src.meta) homepage;
|
2013-05-12 13:03:24 +01:00
|
|
|
description = "libpcap based program for live TCP connection monitoring";
|
2013-05-20 18:33:18 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2016-06-26 02:45:40 +01:00
|
|
|
maintainers = [ maintainers.bjornfor maintainers.vrthra ];
|
2013-05-12 13:03:24 +01:00
|
|
|
};
|
|
|
|
}
|