nixpkgs-suyu/pkgs/tools/networking/dhcp/default.nix
Eelco Dolstra 7f1a438ca8 * Latest dhcp.
* Dhcp client script: create resolv.conf even if the DHCP server
  doesn't provide a domain name, only a list of name servers.  (The
  QEMU DHCP server does this.)

svn path=/nixpkgs/trunk/; revision=7920
2007-02-20 14:20:16 +00:00

13 lines
413 B
Nix

{stdenv, fetchurl, groff, nettools, coreutils, iputils, gnused, bash}:
stdenv.mkDerivation {
name = "dhcp-3.0.5";
builder=./builder.sh;
src = fetchurl {
url = http://ftp.isc.org/isc/dhcp/dhcp-3.0.5.tar.gz;
sha256 = "1dpz6y08vrn3mw0lrlwq1sfiq6nsixpwwgb9hngddka1lfr5yi6x";
};
buildInputs = [groff];
inherit nettools coreutils iputils gnused bash;
patches = [./resolv-without-domain.patch];
}