2009-09-29 16:33:03 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2004-02-19 12:46:35 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2004-02-19 12:46:35 +00:00
|
|
|
name = "net-tools-1.60";
|
2009-09-29 16:33:03 +01:00
|
|
|
|
2004-02-19 12:46:35 +00:00
|
|
|
src = fetchurl {
|
2007-08-24 13:32:36 +01:00
|
|
|
url = http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.60.tar.bz2;
|
2004-02-19 12:46:35 +00:00
|
|
|
md5 = "888774accab40217dde927e21979c165";
|
|
|
|
};
|
2009-09-29 16:33:03 +01:00
|
|
|
|
|
|
|
patches = [ ./net-tools-labels.patch ];
|
|
|
|
|
|
|
|
preBuild =
|
|
|
|
''
|
|
|
|
cp ${./config.h} config.h
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = "BASEDIR=$(out) mandir=/share/man";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.tazenda.demon.co.uk/phil/net-tools/;
|
|
|
|
description = "A set of tools for controlling the network subsystem in Linux";
|
|
|
|
license = "GPLv2+";
|
|
|
|
platforms = [ stdenv.lib.platforms.linux ];
|
|
|
|
};
|
2004-02-19 12:46:35 +00:00
|
|
|
}
|