2008-11-27 14:54:49 +01:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
let version = "20000331"; in
|
|
|
|
|
2015-03-20 16:52:02 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "host-${version}";
|
2008-11-27 14:54:49 +01:00
|
|
|
|
2015-03-20 16:52:02 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/h/host/host_${version}.orig.tar.gz";
|
|
|
|
sha256 = "1g352k80arhwyidsa95nk28xjvzyypmwv3kga2451m3g7fmdqki1";
|
|
|
|
};
|
2008-11-27 14:54:49 +01:00
|
|
|
|
2015-03-20 16:52:02 +01: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 14:06:54 +01:00
|
|
|
|
2015-03-20 16:52:02 +01:00
|
|
|
installTargets = "install man";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "DNS resolution utility";
|
|
|
|
license = "BSD-style";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|