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

18 lines
415 B
Nix
Raw Normal View History

{stdenv, firmwareLinuxNonfree}:
stdenv.mkDerivation {
name = "rtl8192c-fw";
src = firmwareLinuxNonfree;
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/rtlwifi
cp "$src/rtlwifi/rtl8192cfw.bin" "$out/rtlwifi/rtl8192cfw.bin"
'';
meta = {
description = "Firmware for the Realtek RTL8192c wireless cards";
homepage = "http://www.realtek.com";
license = "non-free";
};
}