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:
parent
e5e3c7ec73
commit
31c156de83
24
pkgs/tools/networking/host/default.nix
Normal file
24
pkgs/tools/networking/host/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue