mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
e0ee5dc04f
Upstream
e71a5fc58c
adds linux 4.7 support; all subsequent commits are error fixes so we
bump to current HEAD for good measure.
Built against linux and linux_latest.
Mark as broken on -grsec, seems incompatible with PaX
constification:
> 76fb2-src/hal/rtl8723b_hal_init.c:2186:26: error: assignment of member
'free_hal_data' in read-only object
pHalFunc->free_hal_data = &rtl8723b_free_hal_data;
and so on.
23 lines
692 B
Nix
23 lines
692 B
Nix
{ stdenv, linuxPackages }:
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation {
|
|
name = "rtl8723bs-firmware-${linuxPackages.rtl8723bs.version}";
|
|
inherit (linuxPackages.rtl8723bs) src;
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/lib/firmware/rtlwifi"
|
|
cp rtl8723bs_nic.bin "$out/lib/firmware/rtlwifi"
|
|
cp rtl8723bs_wowlan.bin "$out/lib/firmware/rtlwifi"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Firmware for RealTek 8723bs";
|
|
homepage = https://github.com/hadess/rtl8723bs;
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
maintainers = with maintainers; [ elitak ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|