1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Add `host', a DNS query utility.

svn path=/nixpkgs/trunk/; revision=13459
This commit is contained in:
Ludovic Courtès 2008-11-27 13:54:49 +00:00
parent e5e3c7ec73
commit 31c156de83
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ 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 = ''
substituteInPlace "Makefile" \
--replace "/usr/local" "$out" \
--replace '-o $(OWNER) -g $(GROUP)' ""
ensureDir "$out/bin"
'';
meta = {
description = "`host', a DNS resolution utility";
license = "BSD-style";
};
}

View file

@ -867,6 +867,10 @@ let
inherit getopt;
};
host = import ../tools/networking/host {
inherit fetchurl stdenv;
};
/*
hyppocampusFun = lib.sumArgs ( selectVersion ../tools/misc/hyppocampus "0.3rc1") {
inherit builderDefs stdenv fetchurl libdbi libdbiDrivers fuse