blob: b4e07624b6ef264cc0bec2a990d17dedc55ddd7b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ stdenvNoCC, lib, linuxPackages }:
stdenvNoCC.mkDerivation {
pname = "rtw88-firmware";
inherit (linuxPackages.rtw88) version src;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/firmware/rtw88
cp *.bin $out/lib/firmware/rtw88
runHook postInstall
'';
meta = with lib; {
description = "Firmware for the newest Realtek rtlwifi codes";
homepage = "https://github.com/lwfinger/rtw88";
license = licenses.unfreeRedistributableFirmware;
maintainers = with maintainers; [ tvorog ];
platforms = platforms.linux;
};
}
|