8 stdenv.mkDerivation rec {
9 pname = "tcptraceroute";
12 src = fetchFromGitHub {
14 repo = "tcptraceroute";
15 rev = "${pname}-${version}";
16 hash = "sha256-KU4MLWtOFzzNr+I99fRbhBokhS1JUNL+OgVltkOGav4=";
20 # for reasons unknown --disable-static configure flag doesn't disable static
21 # linking.. we instead override CFLAGS with -static omitted
23 makeFlagsArray=(CFLAGS=" -g -O2 -Wall")
26 buildInputs = [ libpcap libnet ];
29 description = "Traceroute implementation using TCP packets";
30 homepage = "https://github.com/mct/tcptraceroute";
31 license = lib.licenses.gpl2Only;
33 mainProgram = "tcptraceroute";