2008-02-18 17:15:51 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "iwlwifi-4965-ucode-4.44.17";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://intellinuxwireless.org/iwlwifi/downloads/" + name + ".tgz";
|
|
|
|
sha256 = "1mfnxsp58jvh0njvwaxrkbiggbzr4jd0hk314hxfwyjpjdd2hj6w";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = "true";
|
|
|
|
|
2008-05-07 14:15:00 +02:00
|
|
|
installPhase = ''
|
|
|
|
ensureDir "$out"
|
|
|
|
chmod -x *
|
|
|
|
cp * "$out"
|
|
|
|
|
|
|
|
# The driver expects the `-1' in the file name.
|
|
|
|
cd "$out"
|
|
|
|
ln -s iwlwifi-4965.ucode iwlwifi-4965-1.ucode
|
|
|
|
'';
|
2008-02-18 17:15:51 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Firmware for the Intel 4965ABG wireless card";
|
|
|
|
homepage = http://intellinuxwireless.org/;
|
|
|
|
};
|
|
|
|
}
|