mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
26 lines
590 B
Nix
26 lines
590 B
Nix
{ 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;
|
|
};
|
|
}
|