23 lines
627 B
Nix
23 lines
627 B
Nix
|
args : with args;
|
||
|
with builderDefs {
|
||
|
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 */
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "atheros-"+version;
|
||
|
builder = writeScript (name + "-builder")
|
||
|
(textClosure [doMakeInstall doForceShare doPropagate]);
|
||
|
meta = {
|
||
|
description = "
|
||
|
Atheros WiFi driver.
|
||
|
";
|
||
|
};
|
||
|
}
|