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