1 { lib, stdenvNoCC, fetchurl, b43FirmwareCutter }:
3 let version = "5.100.138"; in
5 stdenvNoCC.mkDerivation {
6 pname = "b43-firmware";
10 url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";
11 sha256 = "0vz4ka8gycf72gmnaq61k8rh8y17j1wm2k3fidxvcqjvmix0drzi";
14 nativeBuildInputs = [ b43FirmwareCutter ];
17 mkdir -p $out/lib/firmware
18 b43-fwcutter -w $out/lib/firmware linux/wl_apsta.o
22 description = "Firmware for cards supported by the b43 kernel module";
23 homepage = "https://wireless.wiki.kernel.org/en/users/drivers/b43";
24 license = lib.licenses.unfree;