nixpkgs/pkgs/os-specific/linux/firmware/rtl8192c/default.nix
Arie Middelkoop 0fa0da35ef Added firmware-linux-nonfree and directly also the free variant.
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
2012-01-12 17:16:11 +00:00

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";
};
}