778540797d
I've only updated the firmware URLs for the firmware I could install without changing the sha256
32 lines
850 B
Nix
32 lines
850 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "iwlwifi-1000-ucode-128.50.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${name}.tgz";
|
|
name = "${name}.tgz";
|
|
sha256 = "7e81ddad18acec19364c9df22496e8afae99a2e1490b2b178e420b52d443728d";
|
|
};
|
|
|
|
buildPhase = "true";
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"
|
|
chmod -x *
|
|
cp * "$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Firmware for the Intel 1000 wireless card";
|
|
|
|
longDescription = ''
|
|
This package provides version 3 of the Intel wireless card
|
|
firmware, for Linux up to 2.6.26. It contains the
|
|
`iwlwifi-1000-3.ucode' file, which is loaded by the `iwlagn'
|
|
driver found in recent kernels.
|
|
'';
|
|
|
|
homepage = http://wireless.kernel.org/en/users/Drivers/iwlwifi;
|
|
};
|
|
}
|