From feff3bfa1b92e1247f23e8f49c65ff5c6c59f2ae Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sat, 26 Dec 2009 16:22:51 +0000 Subject: [PATCH] Add Firmware for the Intel 1000 wireless card. svn path=/nixpkgs/trunk/; revision=19132 --- .../firmware/iwlwifi-1000-ucode/default.nix | 31 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/os-specific/linux/firmware/iwlwifi-1000-ucode/default.nix diff --git a/pkgs/os-specific/linux/firmware/iwlwifi-1000-ucode/default.nix b/pkgs/os-specific/linux/firmware/iwlwifi-1000-ucode/default.nix new file mode 100644 index 000000000000..c09bd5c5aca9 --- /dev/null +++ b/pkgs/os-specific/linux/firmware/iwlwifi-1000-ucode/default.nix @@ -0,0 +1,31 @@ +{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 = '' + ensureDir "$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/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index addc69b37970..4e743305417c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5351,6 +5351,10 @@ let inherit fetchurl stdenv; }; + iwlwifi1000ucode = import ../os-specific/linux/firmware/iwlwifi-1000-ucode { + inherit fetchurl stdenv; + }; + iwlwifi3945ucode = import ../os-specific/linux/firmware/iwlwifi-3945-ucode { inherit fetchurl stdenv; };