Added MadWiFi.
svn path=/nixpkgs/trunk/; revision=10107
This commit is contained in:
parent
7f402451ec
commit
ca74bacd18
22
pkgs/os-specific/linux/atheros/0.9.3.3.nix
Normal file
22
pkgs/os-specific/linux/atheros/0.9.3.3.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
args : with args;
|
||||||
|
with builderDefs {
|
||||||
|
src = /* put a fetchurl here */
|
||||||
|
fetchurl {
|
||||||
|
url = http://downloads.sourceforge.net/madwifi/madwifi-0.9.3.3.tar.bz2;
|
||||||
|
sha256 = "1dq56dx81wfhpgipbrl3gk2is3g1xvysx2pl6vxyj0dhslkcnf3y";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [];
|
||||||
|
configureFlags = [];
|
||||||
|
makeFlags = [''KERNELPATH=${kernel}/lib/modules/*/build'' ''DESTDIR=$out''];
|
||||||
|
} null; /* null is a terminator for sumArgs */
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "atheros-"+version;
|
||||||
|
builder = writeScript (name + "-builder")
|
||||||
|
(textClosure [doMakeInstall doForceShare doPropagate]);
|
||||||
|
meta = {
|
||||||
|
description = "
|
||||||
|
Atheros WiFi driver.
|
||||||
|
";
|
||||||
|
};
|
||||||
|
}
|
@ -2992,6 +2992,15 @@ rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
atherosFun = lib.sumArgs (selectVersion ../os-specific/linux/atheros) {
|
||||||
|
inherit fetchurl stdenv builderDefs;
|
||||||
|
};
|
||||||
|
|
||||||
|
atherosFunCurrent = theKernel: (atherosFun {
|
||||||
|
version = "0.9.3.3";
|
||||||
|
kernel = theKernel;
|
||||||
|
} null);
|
||||||
|
|
||||||
bridge_utils = import ../os-specific/linux/bridge_utils {
|
bridge_utils = import ../os-specific/linux/bridge_utils {
|
||||||
inherit fetchurl stdenv autoconf automake;
|
inherit fetchurl stdenv autoconf automake;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user