2008-02-18 17:15:51 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-01-15 11:36:21 +01:00
|
|
|
name = "iwlwifi-4965-ucode-228.57.1.21";
|
2008-02-18 17:15:51 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://intellinuxwireless.org/iwlwifi/downloads/" + name + ".tgz";
|
2009-01-15 11:36:21 +01:00
|
|
|
sha256 = "1rry0kpzszxk60h5gb94advzi009010xb332iyvfpaiwbj6aiyas";
|
2008-02-18 17:15:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = "true";
|
|
|
|
|
2008-05-07 14:15:00 +02:00
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out"
|
2008-05-07 14:15:00 +02:00
|
|
|
chmod -x *
|
|
|
|
cp * "$out"
|
|
|
|
|
|
|
|
# The driver expects the `-1' in the file name.
|
|
|
|
cd "$out"
|
|
|
|
ln -s iwlwifi-4965.ucode iwlwifi-4965-1.ucode
|
|
|
|
'';
|
2008-02-18 17:15:51 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Firmware for the Intel 4965ABG wireless card";
|
2008-11-26 14:15:38 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2008-02-18 17:15:51 +01:00
|
|
|
homepage = http://intellinuxwireless.org/;
|
|
|
|
};
|
|
|
|
}
|