blob: 673ef686e4887aff762c6881c3f6939719ef0655 (
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
|
{ stdenv, lib, linuxPackages }:
with lib;
stdenv.mkDerivation rec {
name = "rtlwifi_new-firmware-${linuxPackages.rtlwifi_new.version}";
inherit (linuxPackages.rtlwifi_new) src;
dontBuild = true;
installPhase = ''
mkdir -p "$out/lib/firmware"
cp -rf firmware/rtlwifi/ "$out/lib/firmware"
'';
meta = {
description = "Firmware for the newest Realtek rtlwifi codes";
inherit (src.meta) homepage;
license = licenses.unfreeRedistributableFirmware;
platforms = with platforms; linux;
maintainers = with maintainers; [ tvorog ];
};
}
|