depot/third_party/nixpkgs/pkgs/os-specific/linux/firmware/rtl8723bs-firmware/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

22 lines
692 B
Nix

{ lib, stdenv, linuxPackages }:
with stdenv.lib;
stdenv.mkDerivation {
name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.version}";
inherit (linuxPackages.rtl8723bs) src;
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p "$out/lib/firmware/rtlwifi"
cp rtl8723bs_nic.bin "$out/lib/firmware/rtlwifi"
cp rtl8723bs_wowlan.bin "$out/lib/firmware/rtlwifi"
'';
meta = with lib; {
description = "Firmware for RealTek 8723bs";
homepage = "https://github.com/hadess/rtl8723bs";
license = licenses.unfreeRedistributableFirmware;
maintainers = with maintainers; [ elitak ];
platforms = with platforms; linux;
};
}