2022-08-21 13:32:41 +00:00
|
|
|
{ lib, stdenvNoCC, linuxPackages }:
|
2021-02-05 17:12:51 +00:00
|
|
|
with lib;
|
2022-08-21 13:32:41 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2022-01-25 03:21:06 +00:00
|
|
|
pname = "rtl8723bs-firmware";
|
|
|
|
version = linuxPackages.rtl8723bs.version;
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (linuxPackages.rtl8723bs) src;
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
dontBuild = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/lib/firmware/rtlwifi"
|
|
|
|
cp rtl8723bs_nic.bin "$out/lib/firmware/rtlwifi"
|
|
|
|
cp rtl8723bs_wowlan.bin "$out/lib/firmware/rtlwifi"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Firmware for RealTek 8723bs";
|
|
|
|
homepage = "https://github.com/hadess/rtl8723bs";
|
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|