mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
257ffc8e73
svn path=/nixpkgs/trunk/; revision=17773
27 lines
615 B
Nix
27 lines
615 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "net-tools-1.60";
|
|
|
|
src = fetchurl {
|
|
url = http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.60.tar.bz2;
|
|
md5 = "888774accab40217dde927e21979c165";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|