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