about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware/iwlwifi-5150-ucode/default.nix
blob: 0d409bd8427cf8f8566dd214d79401a898c354d1 (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
{stdenv, fetchurl}:

stdenv.mkDerivation rec {
  name = "iwlwifi-5150-ucode-8.24.2.2";
  
  src = fetchurl {
    url = "http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5150-ucode-8.24.2.2.tgz";
    sha256 = "d253e6ff6624639aded67c82df98b2bc4a66eb66400848d5614921d513540cf9";
  };
  
  buildPhase = "true";

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

    longDescription = ''
      This package provides version 1 of the Intel wireless card
      firmware.  It contains the `iwlwifi-5150-2.ucode' file.
    '';

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