summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware/iwlwifi-5000-ucode/default.nix
blob: 8dc69e0a6a3c2c50e2f7d613f638759a395eeef1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "iwlwifi-5000-ucode-8.24.2.12";
  
  src = fetchurl {
    url = "http://intellinuxwireless.org/iwlwifi/downloads/${name}.tgz";
    sha256 = "0h47cmpxa9cmysz0g42ga9da8qjfzqdf0w43fqx1cbnr8yg12ac1";
  };
  
  buildPhase = "true";

  installPhase = ''
    ensureDir "$out"
    chmod -x *
    cp * "$out"
  '';
  
  meta = {
    description = "Firmware for the Intel 5000 wireless card";

    longDescription = ''
      This package provides version 1 of the Intel wireless card
      firmware, for Linux up to 2.6.26.  It contains the
      `iwlwifi-5000-1.ucode' file.
    '';

    homepage = http://intellinuxwireless.org/;
  };
}