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

19 lines
446 B
Nix
Raw Normal View History

{stdenv, linuxFirmware}:
let
src = linuxFirmware;
dir = "rtlwifi";
file = "rtl8192cfw.bin";
meta = {
description = "Firmware for the Realtek RTL8192c wireless cards";
homepage = "http://www.realtek.com";
license = "non-free";
};
in stdenv.mkDerivation {
name = "rtl8192c-fw";
inherit src meta dir file;
phases = [ "installPhase" ];
installPhase = "ensureDir $out/$dir && cp $src/$dir/$file $out/$dir/$file";
}