depot/third_party/nixpkgs/pkgs/os-specific/linux/firmware/rtl8723bs-firmware/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

23 lines
679 B
Nix

{ lib, stdenvNoCC, linuxPackages }:
with lib;
stdenvNoCC.mkDerivation {
pname = "rtl8723bs-firmware";
version = linuxPackages.rtl8723bs.version;
inherit (linuxPackages.rtl8723bs) src;
dontBuild = true;
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;
};
}