2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses, libpcap }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tcptrack";
|
|
|
|
version = "1.4.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bchretien";
|
|
|
|
repo = "tcptrack";
|
|
|
|
rev = "d05fe08154ff1e46578e92be49e4cfa2c6543283";
|
|
|
|
sha256 = "08lh3l67wn4kq9q0nfspc7rj0jvp9dzwjgxpvqliwcif8cy5mi45";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses libpcap ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "libpcap based program for live TCP connection monitoring";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor maintainers.vrthra ];
|
|
|
|
};
|
|
|
|
}
|