2012-01-12 18:16:11 +01:00
|
|
|
{stdenv, firmwareLinuxNonfree}:
|
|
|
|
stdenv.mkDerivation {
|
2012-01-12 11:17:29 +01:00
|
|
|
name = "rtl8192c-fw";
|
2012-01-12 18:16:11 +01:00
|
|
|
src = firmwareLinuxNonfree;
|
2012-01-12 11:17:29 +01:00
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
2012-02-07 10:14:34 +01:00
|
|
|
installPhase = ''
|
2012-02-10 11:24:30 +01:00
|
|
|
mkdir -p $out/rtlwifi
|
2012-02-07 10:14:34 +01:00
|
|
|
cp "$src/rtlwifi/rtl8192cfw.bin" "$out/rtlwifi/rtl8192cfw.bin"
|
|
|
|
'';
|
2012-01-12 11:17:29 +01:00
|
|
|
|
2012-01-12 18:16:11 +01:00
|
|
|
meta = {
|
|
|
|
description = "Firmware for the Realtek RTL8192c wireless cards";
|
|
|
|
homepage = "http://www.realtek.com";
|
|
|
|
license = "non-free";
|
|
|
|
};
|
2011-07-24 00:58:32 +02:00
|
|
|
}
|