2008-01-15 01:55:21 +01:00
|
|
|
args : with args;
|
2008-01-23 19:11:03 +01:00
|
|
|
let localDefs = builderDefs {
|
2008-01-15 01:55:21 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-r3122-20080109.tar.gz;
|
|
|
|
sha256 = "188258c6q96n8lb57c0cqsvxp47psninirdax13w4yd07v1rymwd";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = [];
|
|
|
|
makeFlags = [''KERNELPATH=${kernel}/lib/modules/*/build'' ''DESTDIR=$out''];
|
|
|
|
} null; /* null is a terminator for sumArgs */
|
2008-01-23 19:11:03 +01:00
|
|
|
in with localDefs;
|
2008-01-15 01:55:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "atheros-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-23 19:11:03 +01:00
|
|
|
(textClosure localDefs [doMakeInstall doForceShare doPropagate]);
|
2008-01-15 01:55:21 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Atheros WiFi driver.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
}
|