1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.xz";
9 sha256 = "sha256-smJDWlJB6Jv6UcPKvVEzdTlS96e3uT8y4Iy52W9YDWk=";
14 cp ${./config.h} config.h
18 "CC=${stdenv.cc.targetPrefix}cc"
19 "AR=${stdenv.cc.targetPrefix}ar"
25 "HAVE_HOSTNAME_TOOLS=1"
26 "HAVE_HOSTNAME_SYMLINKS=1"
31 homepage = "http://net-tools.sourceforge.net/";
32 description = "Set of tools for controlling the network subsystem in Linux";
33 license = lib.licenses.gpl2Plus;
34 platforms = lib.platforms.linux;