rtw89: init at 2021-07-03 (#129325)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> (cherry picked from commit 7d8653652999ff29ed5e8f4d00ca7d5d1f14e9c3)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user