mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
40ba71406b
svn path=/nixpkgs/trunk/; revision=10125
18 lines
452 B
Nix
18 lines
452 B
Nix
{stdenv, fetchurl, openssl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "wpa_supplicant-0.5.9";
|
|
|
|
src = fetchurl {
|
|
url = http://hostap.epitest.fi/releases/wpa_supplicant-0.5.9.tar.gz;
|
|
sha256 = "1dylaiikp2jb13jbxdrl1h9b9p2lkjmzx06hpmkcpyq5c5g7p0xy";
|
|
};
|
|
|
|
preBuild = "
|
|
cp defconfig .config
|
|
substituteInPlace Makefile --replace /usr/local $out
|
|
makeFlagsArray=(ALL=\"wpa_supplicant wpa_passphrase wpa_cli\")
|
|
";
|
|
|
|
buildInputs = [openssl];
|
|
}
|