Unverified Commit 6c0773fc authored by Bernardo Meurer's avatar Bernardo Meurer
Browse files

raspberrypiWirelessFirmware: 2022-07-06 -> unstable-2023-05-04

parent f4e0f22a
Loading
Loading
Loading
Loading
+5 −10
Original line number Diff line number Diff line
@@ -2,22 +2,22 @@

stdenvNoCC.mkDerivation {
  pname = "raspberrypi-wireless-firmware";
  version = "2022-07-06";
  version = "unstable-2023-05-04";

  srcs = [
    (fetchFromGitHub {
      name = "bluez-firmware";
      owner = "RPi-Distro";
      repo = "bluez-firmware";
      rev = "dd840d991939f5046959b8c564596c7228f9d41d";
      hash = "sha512-XvF6IHDoKBJkSs0Wyt8O1vcCMpSNS9WSYopn0+EyCr4btABGsHWTkgxb4nQbd+VbE6Ls2dcKr+c+X6aw/y1jhQ==";
      rev = "9556b08ace2a1735127894642cc8ea6529c04c90";
      hash = "sha256-gKGK0XzNrws5REkKg/JP6SZx3KsJduu53SfH3Dichkc=";
    })
    (fetchFromGitHub {
      name = "firmware-nonfree";
      owner = "RPi-Distro";
      repo = "firmware-nonfree";
      rev = "541e5a05d152e7e6f0d9be45622e4a3741e51c02";
      hash = "sha512-0erVWiFom0V5AMu+XlolJnY9Q5/RCFlZwUovMBMNdEPb+L5rHcCdrA7zehDX1oRNe8DPb4S5gjny0iG/G7G6NQ==";
      rev = "2b465a10b04555b7f45b3acb85959c594922a3ce";
      hash = "sha256-9UgB8f2AaxG7S5Px46jOP9wUeO1VXKB0uJiPWh32oDI=";
    })
  ];

@@ -37,11 +37,6 @@ stdenvNoCC.mkDerivation {
    # Bluetooth firmware
    cp -rv "$NIX_BUILD_TOP/bluez-firmware/broadcom/." "$out/lib/firmware/brcm"

    # CM4 symlink must be added since it's missing from upstream
    pushd $out/lib/firmware/brcm &>/dev/null
    ln -s "./brcmfmac43455-sdio.txt" "$out/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt"
    popd &>/dev/null

    runHook postInstall
  '';