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