summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific/linux/firmware/iwlwifi-4965-ucode/version-2.nix
blob: e1771c7a5cfb6c11fc2c3f69de616af8ed426291 (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
30
31
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "iwlwifi-4965-ucode-228.57.2.21";
  
  src = fetchurl {
    url = "http://intellinuxwireless.org/iwlwifi/downloads/" + name + ".tgz";
    sha256 = "1ss8r9l8j28n4zplpcwf81n74yy7p4q9dldnblmh4g0h9nyr8nf0";
  };
  
  buildPhase = "true";

  installPhase = ''
    mkdir -p "$out"
    chmod -x *
    cp * "$out"
  '';
  
  meta = {
    description = "Firmware for the Intel 4965ABG wireless card, for Linux 2.6.27+";

    longDescription = ''
      This package provides version 2 of the Intel wireless card
      firmware, for Linux 2.6.27 and later.  It contains the
      `iwlwifi-4965-2.ucode' file, which is loaded by the `iwlagn'
      driver found in recent kernels.
    '';

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