Merge pull request #25943 from pbogdan/tcptraceroute
tcptraceroute: init at 1.5beta7
This commit is contained in:
commit
91978764a0
28
pkgs/tools/networking/tcptraceroute/default.nix
Normal file
28
pkgs/tools/networking/tcptraceroute/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv , pkgs , fetchurl, libpcap, libnet
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pkgname = "tcptraceroute";
|
||||
name = "${pkgname}-${version}";
|
||||
version = "1.5beta7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mct/${pkgname}/archive/${name}.tar.gz";
|
||||
sha256 = "1rz8bgc6r1isb40awv1siirpr2i1paa2jc1cd3l5pg1m9522xzap";
|
||||
};
|
||||
|
||||
# for reasons unknown --disable-static configure flag doesn't disable static
|
||||
# linking.. we instead override CFLAGS with -static omitted
|
||||
preBuild = ''
|
||||
makeFlagsArray=(CFLAGS=" -g -O2 -Wall")
|
||||
'';
|
||||
|
||||
buildInputs = [ libpcap libnet ];
|
||||
|
||||
meta = {
|
||||
description = "A traceroute implementation using TCP packets.";
|
||||
homepage = https://github.com/mct/tcptraceroute;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.pbogdan ];
|
||||
};
|
||||
}
|
@ -4237,6 +4237,8 @@ with pkgs;
|
||||
|
||||
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
|
||||
|
||||
tcptraceroute = callPackage ../tools/networking/tcptraceroute { };
|
||||
|
||||
tboot = callPackage ../tools/security/tboot { };
|
||||
|
||||
tcpdump = callPackage ../tools/networking/tcpdump { };
|
||||
|
Loading…
Reference in New Issue
Block a user