Advertisement
Guest User

Untitled

a guest
Jan 26th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. { stdenv, fetchurl }:
  2.  
  3. let
  4. src1 = fetchurl {
  5. url = "https://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=brcm/bcm43xx_hdr-0.fw;hb=e4379d14549cd9b29988cf3c5b74b29d2051dd09";
  6. sha256 = "d02549964d21dd90fc35806483b9fc871d93d7d38ae1a70a9ce006103c2a3de3";
  7. name = "bcm43xx_hdr-0.fw";
  8. };
  9.  
  10. src2 = fetchurl {
  11. url = "https://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=blob_plain;f=brcm/bcm43xx-0.fw;hb=e4379d14549cd9b29988cf3c5b74b29d2051dd09";
  12. sha256 = "f90f685903127e4db431fe1efccefebf77272712bd4bfe46d1d1d5825ee52797";
  13. name = "bcm43xx-0.fw";
  14. };
  15. in
  16. stdenv.mkDerivation {
  17. name = "bcm43xx-firmware-610.811";
  18.  
  19. unpackPhase = "true";
  20.  
  21. buildPhase = "true";
  22.  
  23. installPhase = ''
  24. mkdir -p $out/brcm
  25. cp ${src1} $out/brcm/${src1.name}
  26. cp ${src2} $out/brcm/${src2.name}
  27. '';
  28.  
  29. meta = {
  30. description = "Firmware for the Broadcom 43xx 802.11 wireless cards";
  31. homepage = http://linuxwireless.org/;
  32. };
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement