0fa0da35ef
Todo for later: take the files from the various .deb files instead of the source distribution. This version already improves upon my previous implementation, hence I commit it. svn path=/nixpkgs/trunk/; revision=31501
15 lines
409 B
Nix
15 lines
409 B
Nix
{stdenv, firmwareLinuxNonfree}:
|
|
stdenv.mkDerivation {
|
|
name = "rtl8192c-fw";
|
|
src = firmwareLinuxNonfree;
|
|
|
|
phases = [ "installPhase" ];
|
|
installPhase = "ensureDir $out/rtlwifi && cp $src/realtek/rtlwifi/rtl8192cfw.bin $out/rtlwifi/rtl8192cfw.bin";
|
|
|
|
meta = {
|
|
description = "Firmware for the Realtek RTL8192c wireless cards";
|
|
homepage = "http://www.realtek.com";
|
|
license = "non-free";
|
|
};
|
|
}
|