Add Intel Wi-Fi firmware for kernels 2.6.27 and later;

make `iwlwifi4965ucode' part of `kernelPackagesFor'.

svn path=/nixpkgs/trunk/; revision=13429
This commit is contained in:
Ludovic Courtès
2008-11-26 13:15:38 +00:00
parent 5dad580963
commit 564b82630b
3 changed files with 51 additions and 1 deletions
@@ -22,6 +22,14 @@ stdenv.mkDerivation rec {
meta = {
description = "Firmware for the Intel 4965ABG wireless card";
longDescription = ''
This package provides version 2 of the Intel wireless card
firmware, for Linux up to 2.6.26. It contains the
`iwlwifi-4965-1.ucode' file, which is loaded by the `iw4965'
driver found in recent kernels.
'';
homepage = http://intellinuxwireless.org/;
};
}
@@ -0,0 +1,31 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "iwlwifi-4965-ucode-228.57.2.21";
src = fetchurl {
url = "http://intellinuxwireless.org/iwlwifi/downloads/" + name + ".tgz";
sha256 = "1ss8r9l8j28n4zplpcwf81n74yy7p4q9dldnblmh4g0h9nyr8nf0";
};
buildPhase = "true";
installPhase = ''
ensureDir "$out"
chmod -x *
cp * "$out"
'';
meta = {
description = "Firmware for the Intel 4965ABG wireless card, for Linux 2.6.27+";
longDescription = ''
This package provides version 2 of the Intel wireless card
firmware, for Linux 2.6.27 and later. It contains the
`iwlwifi-4965-2.ucode' file, which is loaded by the `iwlagn'
driver found in recent kernels.
'';
homepage = http://intellinuxwireless.org/;
};
}