mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
* Added the Broadcom 43xx firmware.
svn path=/nixpkgs/trunk/; revision=30002
This commit is contained in:
parent
19291c77e3
commit
4401a2b70c
2 changed files with 29 additions and 0 deletions
27
pkgs/os-specific/linux/firmware/bcm43xx/default.nix
Normal file
27
pkgs/os-specific/linux/firmware/bcm43xx/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchsvn }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bcm43xx-firmware-610.811";
|
||||
|
||||
# For convenience, get it from the Debian SVN repo. Upstream seems to be
|
||||
# https://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree;f=brcm
|
||||
src = fetchsvn {
|
||||
url = svn://svn.debian.org/kernel/dists/trunk/firmware-nonfree/brcm80211/brcm;
|
||||
rev = 17441;
|
||||
sha256 = "0dpc3kwgrslr3i00vx9pvvk2xvcwwf24yrbh6d5gxq9r1q65p8sz";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/brcm
|
||||
for i in *.fw*; do
|
||||
cp $i $out/brcm/$(echo $i | sed 's/\(.*\.fw\).*/\1/')
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the Broadcom 43xx 802.11 wireless cards";
|
||||
homepage = http://linuxwireless.org/;
|
||||
};
|
||||
}
|
|
@ -5072,6 +5072,8 @@ let
|
|||
|
||||
alsaUtils = callPackage ../os-specific/linux/alsa-utils { };
|
||||
|
||||
bcm43xx = callPackage ../os-specific/linux/firmware/bcm43xx { };
|
||||
|
||||
bluez = callPackage ../os-specific/linux/bluez { };
|
||||
|
||||
bridge_utils = callPackage ../os-specific/linux/bridge-utils { };
|
||||
|
|
Loading…
Reference in a new issue