Added MadWiFi.

svn path=/nixpkgs/trunk/; revision=10107
This commit is contained in:
Michael Raskin 2008-01-10 04:43:46 +00:00
parent 7f402451ec
commit ca74bacd18
2 changed files with 31 additions and 0 deletions

View 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.
";
};
}

View File

@ -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;
}; };