2007-04-08 20:20:21 +00:00
|
|
|
{stdenv, fetchurl, openssl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-01-12 22:17:46 +00:00
|
|
|
name = "wpa_supplicant-0.5.9";
|
2007-04-08 20:20:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-01-12 22:17:46 +00:00
|
|
|
url = http://hostap.epitest.fi/releases/wpa_supplicant-0.5.9.tar.gz;
|
|
|
|
sha256 = "1dylaiikp2jb13jbxdrl1h9b9p2lkjmzx06hpmkcpyq5c5g7p0xy";
|
2007-04-08 20:20:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = "
|
|
|
|
cp defconfig .config
|
|
|
|
substituteInPlace Makefile --replace /usr/local $out
|
|
|
|
makeFlagsArray=(ALL=\"wpa_supplicant wpa_passphrase wpa_cli\")
|
|
|
|
";
|
|
|
|
|
|
|
|
buildInputs = [openssl];
|
|
|
|
}
|