mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
a68c1adc35
Says: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" CC: #4803. There will likely appear more of these errors on Hydra in time.
25 lines
753 B
Nix
25 lines
753 B
Nix
{ stdenv, fetchurl, ncurses, libpcap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tcptrack-${version}";
|
|
version = "1.4.2";
|
|
|
|
src = fetchurl {
|
|
# TODO: find better URL
|
|
url = http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/tcptrack-1.4.2.tar.gz;
|
|
sha256 = "0jbh20kjaqdiasy5s9dk53dv4vpnbh31kqcmhwz9vi3qqzhv21v6";
|
|
};
|
|
|
|
buildInputs = [ ncurses libpcap ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "libpcap based program for live TCP connection monitoring";
|
|
homepage = http://www.rhythm.cx/~steve/devel/tcptrack/; # dead link
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|