2012-02-20 02:14:57 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2009-07-17 13:41:19 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-20 02:14:57 +01:00
|
|
|
name = "dhcpcd-5.5.4";
|
2009-07-17 13:41:19 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://roy.marples.name/downloads/dhcpcd/${name}.tar.bz2";
|
2012-02-20 02:14:57 +01:00
|
|
|
sha256 = "1zhpm89s6bk29lx7hq5f6fqm7i6dq2wq9vv5m25rv5wv6747v0m6";
|
2009-07-17 13:41:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=\${out}";
|
|
|
|
|
|
|
|
# Hack to make installation succeed. dhcpcd will still use /var/db
|
|
|
|
# at runtime.
|
|
|
|
installFlags = "DBDIR=\${TMPDIR}/db";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
|
|
|
|
homepage = http://roy.marples.name/projects/dhcpcd;
|
|
|
|
};
|
|
|
|
}
|