2008-11-27 13:54:49 +00:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
let version = "20000331"; in
|
|
|
|
|
2015-03-20 15:52:02 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "host-${version}";
|
2008-11-27 13:54:49 +00:00
|
|
|
|
2015-03-20 15:52:02 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/h/host/host_${version}.orig.tar.gz";
|
|
|
|
sha256 = "1g352k80arhwyidsa95nk28xjvzyypmwv3kga2451m3g7fmdqki1";
|
|
|
|
};
|
2008-11-27 13:54:49 +00:00
|
|
|
|
2015-03-20 15:52:02 +00:00
|
|
|
preConfigure = ''
|
|
|
|
makeFlagsArray=(DESTBIN=$out/bin DESTMAN=$out/share/man OWNER=$(id -u) GROUP=$(id -g))
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
mkdir -p "$out/share/man/man1"
|
|
|
|
'';
|
2008-11-28 13:06:54 +00:00
|
|
|
|
2015-03-20 15:52:02 +00:00
|
|
|
installTargets = "install man";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "DNS resolution utility";
|
|
|
|
license = "BSD-style";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|