blob: bf6795f4b1ed2f80ac0e2a807a093b870a9c54b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{stdenv, fetchurl, openssl}:
stdenv.mkDerivation {
name = "wpa_supplicant-0.5.7";
src = fetchurl {
url = http://hostap.epitest.fi/releases/wpa_supplicant-0.5.7.tar.gz;
sha256 = "0mvb2fpvn7qdjinpn86hvmhfwg2ax1822hdkfrw25wx5dglqns6g";
};
preBuild = "
cp defconfig .config
substituteInPlace Makefile --replace /usr/local $out
makeFlagsArray=(ALL=\"wpa_supplicant wpa_passphrase wpa_cli\")
";
buildInputs = [openssl];
}
|