1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 18:37:02 +00:00
nixpkgs/pkgs/development/tools/misc/tcptrack/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
674 B
Nix

{ 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 stdenv.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 ];
};
}