mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* Added wpa_supplicant.
svn path=/nixpkgs/trunk/; revision=8552
This commit is contained in:
parent
771453ffc2
commit
277378c2a4
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wireless-tools-29-pre12";
|
||||
name = "wireless-tools-29-pre17";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.pre12.tar.gz;
|
||||
sha256 = "12al9910k2d9a0464j1r1x3lcsyw36zd2hzbyqy357iplplkxnws";
|
||||
url = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.pre17.tar.gz;
|
||||
sha256 = "13488mk5q8zdb6z933287kf2sf2narkn4khni5z3x7y87jvrs127";
|
||||
};
|
||||
|
||||
preBuild = "
|
||||
|
18
pkgs/os-specific/linux/wpa_supplicant/default.nix
Normal file
18
pkgs/os-specific/linux/wpa_supplicant/default.nix
Normal file
@ -0,0 +1,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];
|
||||
}
|
@ -2492,6 +2492,10 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
wpa_supplicant = import ../os-specific/linux/wpa_supplicant {
|
||||
inherit fetchurl stdenv openssl;
|
||||
};
|
||||
|
||||
xorg_sys_opengl = import ../os-specific/linux/opengl/xorg-sys {
|
||||
inherit stdenv xlibs expat;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user