* Added the Broadcom 43xx firmware.

svn path=/nixpkgs/trunk/; revision=30002
This commit is contained in:
Eelco Dolstra 2011-10-24 23:35:53 +00:00
parent 19291c77e3
commit 4401a2b70c
2 changed files with 29 additions and 0 deletions

View 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/;
};
}

View file

@ -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 { };