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