Unverified Commit 8e2d9f2c authored by Stefan Frijters's avatar Stefan Frijters
Browse files

b43-firmware: update source, set sourceProvenance, modernize

The previous url redirects to some gambling website; the new url provides the same tarballs
parent aca9b21f
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -4,17 +4,12 @@
  fetchurl,
  b43FirmwareCutter,
}:

let
  version = "5.100.138";
in

stdenvNoCC.mkDerivation {
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "b43-firmware";
  inherit version;
  version = "5.100.138";

  src = fetchurl {
    url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";
    url = "https://github.com/minios-linux/b43-firmware/releases/download/b43-firmware/broadcom-wl-${finalAttrs.version}.tar.bz2";
    hash = "sha256-8ecGeqxbYrZ7i25MUXmQJ3gEM5rBYGXrE8cx/5Ca5G8=";
  };

@@ -29,5 +24,6 @@ stdenvNoCC.mkDerivation {
    description = "Firmware for cards supported by the b43 kernel module";
    homepage = "https://wireless.wiki.kernel.org/en/users/drivers/b43";
    license = lib.licenses.unfree;
    sourceProvenance = with lib.sourceTypes; [ binaryFirmware ];
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -4,13 +4,12 @@
  fetchurl,
  b43FirmwareCutter,
}:

stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "b43-firmware";
  version = "6.30.163.46";

  src = fetchurl {
    url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";
    url = "https://github.com/minios-linux/b43-firmware/releases/download/b43-firmware/broadcom-wl-${finalAttrs.version}.tar.bz2";
    hash = "sha256-oHw7ayd4M8fb5h2qUR+QjNZsXidj63oIWavDbNkzXC0=";
  };

@@ -28,5 +27,6 @@ stdenvNoCC.mkDerivation rec {
    homepage = "https://wireless.wiki.kernel.org/en/users/drivers/b43";
    downloadPage = "http://www.lwfinger.com/b43-firmware";
    license = lib.licenses.unfree;
    sourceProvenance = with lib.sourceTypes; [ binaryFirmware ];
  };
}
})