forked from mirrors/nixpkgs
Updated Atheros MadWiFi driver
svn path=/nixpkgs/trunk/; revision=11727
This commit is contained in:
parent
07d8e53774
commit
60c21a2a38
30
pkgs/os-specific/linux/atheros/r3574.nix
Normal file
30
pkgs/os-specific/linux/atheros/r3574.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
args : with args;
|
||||
let localDefs = builderDefs {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://snapshots.madwifi.org/madwifi-trunk/madwifi-trunk-r3574-20080426.tar.gz;
|
||||
sha256 = "1awr8jxrh6nvrsnyaydafkz7yarax3h4xphjcx6gmwsfbyb2mj7q";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
makeFlags = [''KERNELPATH=${kernel}/lib/modules/*/build'' ''DESTDIR=$out''];
|
||||
} null; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
let
|
||||
postInstall = FullDepEntry (''
|
||||
ln -s $out/usr/local/bin $out/bin
|
||||
'') [minInit doMakeInstall];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "atheros-"+version;
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs [doMakeInstall postInstall
|
||||
doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "
|
||||
Atheros WiFi driver.
|
||||
";
|
||||
inherit src;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue