2012-01-12 11:17:29 +01:00
|
|
|
{stdenv, linuxFirmware}:
|
|
|
|
let
|
|
|
|
src = linuxFirmware;
|
|
|
|
dir = "rtlwifi";
|
|
|
|
file = "rtl8192cfw.bin";
|
2011-07-24 00:58:32 +02:00
|
|
|
meta = {
|
|
|
|
description = "Firmware for the Realtek RTL8192c wireless cards";
|
|
|
|
homepage = "http://www.realtek.com";
|
|
|
|
license = "non-free";
|
2012-01-12 11:17:29 +01:00
|
|
|
};
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "rtl8192c-fw";
|
|
|
|
inherit src meta dir file;
|
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = "ensureDir $out/$dir && cp $src/$dir/$file $out/$dir/$file";
|
2011-07-24 00:58:32 +02:00
|
|
|
}
|