nixpkgs/pkgs/os-specific/linux/firmware/rtl8192c/default.nix

15 lines
408 B
Nix
Raw Normal View History

{stdenv, firmwareLinuxNonfree}:
stdenv.mkDerivation {
name = "rtl8192c-fw";
src = firmwareLinuxNonfree;
phases = [ "installPhase" ];
installPhase = "mkdir -p $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";
};
}