summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific/linux/firmware/iwlwifi-6000g2a-ucode/default.nix
blob: 80aa6d367be75b73c65abd9048b2309c4b2ea95b (plain)
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
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "iwlwifi-6000g2a-ucode-17.168.5.3";

  src = fetchurl {
    url = "http://intellinuxwireless.org/iwlwifi/downloads/${name}.tgz";
    sha256 = "febbbc0851db17296d35e5ca1d9266c1a14e9a9ae6ce41a36578c44971ae79f9";
  };

  buildPhase = "true";

  installPhase = ''
    ensureDir "$out"
    chmod -x *
    cp * "$out"
  '';

  meta = {
    description = "Firmware for the Intel 6000 Series Gen2 wireless card";

    longDescription = ''
      This package provides the Intel 6000 Series wireless card
      firmware. It contains the `iwlwifi-6000g2a-5.ucode' file.
    '';

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