nixpkgs/pkgs/os-specific/linux/firmware/iwlwifi-1000-ucode/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

32 lines
767 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "iwlwifi-1000-ucode-128.50.3.1";
src = fetchurl {
url = "http://intellinuxwireless.org/iwlwifi/downloads/${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://intellinuxwireless.org/;
};
}