2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, b43FirmwareCutter }:
|
2015-04-22 22:15:06 +02:00
|
|
|
|
2016-01-24 20:31:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "b43-firmware";
|
2016-01-24 20:31:44 +01:00
|
|
|
version = "6.30.163.46";
|
2015-04-22 22:15:06 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";
|
|
|
|
sha256 = "0baw6gcnrhxbb447msv34xg6rmlcj0gm3ahxwvdwfcvq4xmknz50";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ b43FirmwareCutter ];
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
b43-fwcutter -w $out *.wl_apsta.o
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-04-22 22:15:06 +02:00
|
|
|
description = "Firmware for cards supported by the b43 kernel module";
|
2021-08-22 15:39:19 +02:00
|
|
|
homepage = "https://wireless.wiki.kernel.org/en/users/drivers/b43";
|
2020-04-01 03:11:51 +02:00
|
|
|
downloadPage = "http://www.lwfinger.com/b43-firmware";
|
2015-04-22 22:15:06 +02:00
|
|
|
license = licenses.unfree;
|
|
|
|
};
|
|
|
|
}
|