mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
parent
d4b7910f80
commit
7fca2693f5
2 changed files with 27 additions and 0 deletions
25
pkgs/tools/networking/traceroute/default.nix
Normal file
25
pkgs/tools/networking/traceroute/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "traceroute-${version}";
|
||||
version = "2.0.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.sourceforge.net/traceroute/${name}.tar.gz";
|
||||
sha256 = "0wf2xnh5hm81fdn6dbkqqqlwbn6gdvy178zkpzbjhm694navmb1g";
|
||||
};
|
||||
|
||||
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 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -2364,6 +2364,8 @@ let
|
|||
|
||||
tpm-tools = callPackage ../tools/security/tpm-tools { };
|
||||
|
||||
traceroute = callPackage ../tools/networking/traceroute { };
|
||||
|
||||
trickle = callPackage ../tools/networking/trickle {};
|
||||
|
||||
trousers = callPackage ../tools/security/trousers { };
|
||||
|
|
Loading…
Reference in a new issue