depot/third_party/nixpkgs/pkgs/development/tools/misc/tcptrack/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
672 B
Nix

{ lib, stdenv, fetchFromGitHub, ncurses, libpcap }:
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";
meta = with lib; {
inherit (src.meta) homepage;
description = "libpcap based program for live TCP connection monitoring";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor maintainers.vrthra ];
};
}