about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware/iwlwifi-5000-ucode/default.nix
blob: 49269fffe477cbe4eabd83f09a3d914f99fae12c (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-5000-ucode-8.83.5.1-1";
  
  src = fetchurl {
    url = "http://www.intellinuxwireless.org/iwlwifi/downloads/${name}.tar.gz";
    sha256 = "0n4f6wsppspvvdpcab52n2piczhgfq7a4y7gazxzzlj5halchnx3";
  };
  
  buildPhase = "true";

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

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

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