2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, linuxPackages }:
|
2021-01-15 14:45:37 +00:00
|
|
|
with lib;
|
2016-04-22 15:54:11 +01:00
|
|
|
stdenv.mkDerivation {
|
2016-08-29 01:07:59 +01:00
|
|
|
name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.version}";
|
2016-04-22 15:54:11 +01:00
|
|
|
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"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-04-22 15:54:11 +01:00
|
|
|
description = "Firmware for RealTek 8723bs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/hadess/rtl8723bs";
|
2016-04-22 15:54:11 +01:00
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2016-04-22 15:54:11 +01:00
|
|
|
};
|
|
|
|
}
|