nixpkgs/pkgs/os-specific/linux/firmware/iwlwifi-4965-ucode/default.nix
Eelco Dolstra 164e1a7ff2 * Latest Intel 3945/4965 wireless firmwares. Actually there are newer
versions, but they're apparently for Linux >= 2.6.29 (e.g. they
  provide iwlwifi-3945-2.ucode instead of iwlwifi-3945-1.ucode).

svn path=/nixpkgs/trunk/; revision=13771
2009-01-15 10:36:21 +00:00

36 lines
882 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "iwlwifi-4965-ucode-228.57.1.21";
src = fetchurl {
url = "http://intellinuxwireless.org/iwlwifi/downloads/" + name + ".tgz";
sha256 = "1rry0kpzszxk60h5gb94advzi009010xb332iyvfpaiwbj6aiyas";
};
buildPhase = "true";
installPhase = ''
ensureDir "$out"
chmod -x *
cp * "$out"
# The driver expects the `-1' in the file name.
cd "$out"
ln -s iwlwifi-4965.ucode iwlwifi-4965-1.ucode
'';
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/;
};
}