2016-06-26 03:45:40 +02:00
|
|
|
{ stdenv, fetchFromGitHub, ncurses, libpcap }:
|
2013-05-12 14:03:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "tcptrack";
|
2016-06-26 03:45:40 +02:00
|
|
|
version = "1.4.3";
|
2013-05-12 14:03:24 +02:00
|
|
|
|
2016-06-26 03:45:40 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bchretien";
|
|
|
|
repo = "tcptrack";
|
|
|
|
rev = "d05fe08154ff1e46578e92be49e4cfa2c6543283";
|
|
|
|
sha256 = "08lh3l67wn4kq9q0nfspc7rj0jvp9dzwjgxpvqliwcif8cy5mi45";
|
2013-05-12 14:03:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
2016-06-26 03:45:40 +02:00
|
|
|
inherit (src.meta) homepage;
|
2013-05-12 14:03:24 +02:00
|
|
|
description = "libpcap based program for live TCP connection monitoring";
|
2013-05-20 19:33:18 +02:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
2016-06-26 03:45:40 +02:00
|
|
|
maintainers = [ maintainers.bjornfor maintainers.vrthra ];
|
2013-05-12 14:03:24 +02:00
|
|
|
};
|
|
|
|
}
|