depot/third_party/nixpkgs/pkgs/os-specific/linux/firmware/rtl8723bs-firmware/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

22 lines
660 B
Nix

{ lib, stdenv, linuxPackages }:
with lib;
stdenv.mkDerivation {
name = "rtl8723bs-firmware-${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;
};
}