8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
22 lines
694 B
Nix
22 lines
694 B
Nix
{ 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 stdenv.lib; {
|
|
description = "Firmware for RealTek 8723bs";
|
|
homepage = "https://github.com/hadess/rtl8723bs";
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
maintainers = with maintainers; [ elitak ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|