2014-09-29 19:00:35 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "traceroute-${version}";
|
2015-01-24 16:05:57 +00:00
|
|
|
version = "2.0.21";
|
2014-09-29 19:00:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/traceroute/${name}.tar.gz";
|
2015-01-24 16:05:57 +00:00
|
|
|
sha256 = "1q4n9s42nfcc4fmnwmrsiabvqrcaagiagmmqj9r5hfmi63pr7b7p";
|
2014-09-29 19:00:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "prefix=$(out)";
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's@LIBS := \(.*\) -lm \(.*\)@LIBS := \1 \2@' Make.rules
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://traceroute.sourceforge.net/;
|
|
|
|
description = "Tracks the route taken by packets over an IP network";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.koral ];
|
2014-10-06 22:04:51 +00:00
|
|
|
platforms = platforms.linux;
|
2014-09-29 19:00:35 +00:00
|
|
|
};
|
|
|
|
}
|