diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-11-27 13:54:49 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-11-27 13:54:49 +0000 |
commit | 31c156de831bd58e98b5f7b556874605865611c7 (patch) | |
tree | a7142188754fcbd41b5ca81f433c655d52eab71f /pkgs/tools/networking/host | |
parent | e5e3c7ec73f466e2fddf18e7d73551a07ad250a0 (diff) | |
download | nixlib-31c156de831bd58e98b5f7b556874605865611c7.tar nixlib-31c156de831bd58e98b5f7b556874605865611c7.tar.gz nixlib-31c156de831bd58e98b5f7b556874605865611c7.tar.bz2 nixlib-31c156de831bd58e98b5f7b556874605865611c7.tar.lz nixlib-31c156de831bd58e98b5f7b556874605865611c7.tar.xz nixlib-31c156de831bd58e98b5f7b556874605865611c7.tar.zst nixlib-31c156de831bd58e98b5f7b556874605865611c7.zip |
Add `host', a DNS query utility.
svn path=/nixpkgs/trunk/; revision=13459
Diffstat (limited to 'pkgs/tools/networking/host')
-rw-r--r-- | pkgs/tools/networking/host/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/networking/host/default.nix b/pkgs/tools/networking/host/default.nix new file mode 100644 index 000000000000..4ef286e346a9 --- /dev/null +++ b/pkgs/tools/networking/host/default.nix @@ -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"; + }; + } |