Merge pull request #24502 from Mic92/rtl8192su-firmware

rtl8192su-firmware: init at unstable-2016-10-05
This commit is contained in:
Jörg Thalheim 2017-04-04 12:09:13 +02:00 committed by GitHub
commit 847fdaaddc
3 changed files with 40 additions and 1 deletions

View File

@ -26,6 +26,7 @@ with lib;
firmwareLinuxNonfree firmwareLinuxNonfree
intel2200BGFirmware intel2200BGFirmware
rtl8723bs-firmware rtl8723bs-firmware
rtl8192su-firmware
]; ];
}; };

View File

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub }:
with stdenv.lib;
stdenv.mkDerivation {
name = "rtl8192su-unstable-2016-10-05";
src = fetchFromGitHub {
owner = "chunkeey";
repo = "rtl8192su";
rev = "c00112c9a14133290fe30bd3b44e45196994cb1c";
sha256 = "0j3c35paapq1icmxq0mg7pm2xa2m69q7bkfmwgq99d682yr2cb5l";
};
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
for i in rtl8192sfw.bin \
rtl8192sufw-ap.bin \
rtl8192sufw-apple.bin \
rtl8192sufw-windows.bin \
rtl8712u-linux-firmware-bad.bin \
rtl8712u-most-recent-v2.6.6-bad.bin \
rtl8712u-most-recent-v2.6.6-bad.bin \
rtl8712u-oldest-but-good.bin;
do
install -D -pm644 firmwares/$i $out/lib/firmware/rtlwifi/$i
done
'';
meta = with stdenv.lib; {
description = "Firmware for Realtek RTL8188SU/RTL8191SU/RTL8192SU";
homepage = https://github.com/chunkeey/rtl8192su;
license = licenses.unfreeRedistributableFirmware;
maintainers = with maintainers; [ mic92 ];
platforms = with platforms; linux;
};
}

View File

@ -741,7 +741,7 @@ with pkgs;
catclock = callPackage ../applications/misc/catclock { }; catclock = callPackage ../applications/misc/catclock { };
cde = callPackage ../tools/package-management/cde { }; cde = callPackage ../tools/package-management/cde { };
cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { }; cdemu-daemon = callPackage ../misc/emulators/cdemu/daemon.nix { };
cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { }; cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { };
@ -12037,6 +12037,8 @@ with pkgs;
rt5677-firmware = callPackage ../os-specific/linux/firmware/rt5677 { }; rt5677-firmware = callPackage ../os-specific/linux/firmware/rt5677 { };
rtl8192su-firmware = callPackage ../os-specific/linux/firmware/rtl8192su-firmware { };
rtl8723bs-firmware = callPackage ../os-specific/linux/firmware/rtl8723bs-firmware { }; rtl8723bs-firmware = callPackage ../os-specific/linux/firmware/rtl8723bs-firmware { };
rtlwifi_new-firmware = callPackage ../os-specific/linux/firmware/rtlwifi_new-firmware { }; rtlwifi_new-firmware = callPackage ../os-specific/linux/firmware/rtlwifi_new-firmware { };