3b21d1e521
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
25 lines
590 B
Nix
25 lines
590 B
Nix
{ stdenvNoCC, lib, linuxPackages }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "rtw89-firmware";
|
|
inherit (linuxPackages.rtw89) version src;
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/lib/firmware/rtw89
|
|
cp *.bin $out/lib/firmware/rtw89
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Driver for Realtek 8852AE, an 802.11ax device";
|
|
homepage = "https://github.com/lwfinger/rtw89";
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
maintainers = with maintainers; [ tvorog ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|