From fe1d110fc296eb4bfae179bf0d1a8ad997591f47 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 29 Apr 2009 14:50:59 +0000 Subject: [PATCH] * Firmware for the Intel 5000 wireless cards. svn path=/nixpkgs/trunk/; revision=15395 --- .../firmware/iwlwifi-5000-ucode/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/os-specific/linux/firmware/iwlwifi-5000-ucode/default.nix diff --git a/pkgs/os-specific/linux/firmware/iwlwifi-5000-ucode/default.nix b/pkgs/os-specific/linux/firmware/iwlwifi-5000-ucode/default.nix new file mode 100644 index 000000000000..d860059e5800 --- /dev/null +++ b/pkgs/os-specific/linux/firmware/iwlwifi-5000-ucode/default.nix @@ -0,0 +1,30 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation rec { + name = "iwlwifi-5000-ucode-5.4.A.11"; + + src = fetchurl { + url = "http://intellinuxwireless.org/iwlwifi/downloads/${name}.tar.gz"; + sha256 = "0mbxfl2phjv5wa6ngml4yg6wn8yjva843i91532fr75rd6z78fxl"; + }; + + 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/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a0c30dfabaf5..fa6392defca7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4668,6 +4668,10 @@ let inherit fetchurl stdenv; }; + iwlwifi5000ucode = import ../os-specific/linux/firmware/iwlwifi-5000-ucode { + inherit fetchurl stdenv; + }; + jfsrec = builderDefsPackage (selectVersion ../os-specific/linux/jfsrec "svn-7"){ inherit boost; };