@@ -11,27 +11,16 @@ stdenv.mkDerivation rec {
1111 sha256 = "12aisha8rlr28310hakps04z9p45kd2wvks0w1vxw1kwfh1ncy9s";
1212 };
1313
14− dontStrip = true; # Stripping breaks some of the binaries
15−
1614 installPhase = ''
1715 mkdir -p $out/share/raspberrypi/boot
1816 cp -R boot/* $out/share/raspberrypi/boot
19− cp -R hardfp/opt/vc/* $out
20− cp opt/vc/LICENCE $out/share/raspberrypi
21−
22− for f in $out/bin/*; do
23− if isELF "$f"; then
24− patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f"
25− patchelf --set-rpath "$out/lib" "$f"
26− fi
27− done
2817 '';
2918
3019 meta = with stdenv.lib; {
3120 description = "Firmware for the Raspberry Pi board";
32− homepage = https://github.com/raspberrypi;
33− license = licenses.unfree;
21+ homepage = https://github.com/raspberrypi/firmware;
22+ license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
3423 platforms = [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ];
35− maintainers = with maintainers; [ viric tavyc ];
24+ maintainers = with maintainers; [ dezgeg viric tavyc ];
3625 };
3726}