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