linux_6_1: 6.1.117 -> 6.1.118
[NixPkgs.git] / pkgs / os-specific / linux / firmware / b43-firmware / 6.30.163.46.nix
blobe117db45b1829d8bb8a21b58aa2e308fc1c9b0e0
1 { lib, stdenvNoCC, fetchurl, b43FirmwareCutter }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "b43-firmware";
5   version = "6.30.163.46";
7   src = fetchurl {
8     url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";
9     sha256 = "0baw6gcnrhxbb447msv34xg6rmlcj0gm3ahxwvdwfcvq4xmknz50";
10   };
12   nativeBuildInputs = [ b43FirmwareCutter ];
14   sourceRoot = ".";
16   installPhase = ''
17     mkdir -p $out/lib/firmware
18     b43-fwcutter -w $out/lib/firmware *.wl_apsta.o
19   '';
21   meta = with lib; {
22     description = "Firmware for cards supported by the b43 kernel module";
23     homepage = "https://wireless.wiki.kernel.org/en/users/drivers/b43";
24     downloadPage = "http://www.lwfinger.com/b43-firmware";
25     license = licenses.unfree;
26   };