nixpkgs/pkgs/tools/networking/dhcpcd/default.nix
Eelco Dolstra e7dcb5c31f * dhcpcd updated to 5.5.6.
svn path=/nixpkgs/trunk/; revision=33719
2012-04-10 12:56:00 +00:00

25 lines
713 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "dhcpcd-5.5.6";
src = fetchurl {
url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2";
sha256 = "1rz8n6crw6yh9hzqwdqjpl37v60i1szr7dbhf6gvm374gpf10zv5";
};
configureFlags = "--sysconfdir=/etc";
makeFlags = "PREFIX=\${out}";
# Hack to make installation succeed. dhcpcd will still use /var/db
# at runtime.
installFlags = "DBDIR=\${TMPDIR}/db SYSCONFDIR=$(out)/etc";
meta = {
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
homepage = http://roy.marples.name/projects/dhcpcd;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}