3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/dhcpcd/default.nix
Eelco Dolstra b9bdfccec9 * dhcpcd updated to 5.5.5.
svn path=/nixpkgs/trunk/; revision=33564
2012-04-04 14:07:57 +00:00

26 lines
713 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "dhcpcd-5.5.5";
src = fetchurl {
url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2";
sha256 = "0arypxvyk0hbaln2plc9r4naij8pzj2yhah5rslmdd49sd0h94k8";
};
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 ];
};
}