@@ -1,17 +1,17 @@
1−{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33let
44 inherit (lib) optionals;
55in
66stdenv.mkDerivation {
77 pname = "raspberrypi-armstubs";
8− version = "2020-10-08";
8+ version = "2021-07-05";
99
1010 src = fetchFromGitHub {
1111 owner = "raspberrypi";
1212 repo = "tools";
13− rev = "fc0e73c13865450e95edd046200e42a6e52d8256";
14− sha256 = "1g6ikpjcrm5x0rk5aiwjdd8grf997qkvgamcrdxy6k9ln746h25s";
13+ rev = "2e59fc67d465510179155973d2b959e50a440e47";
14+ sha256 = "1ysdl4qldy6ldf8cm1igxjisi14xl3s2pi6cnqzpxb38sgihb1vy";
1515 };
1616
1717 NIX_CFLAGS_COMPILE = [
@@ -37,13 +37,15 @@ stdenv.mkDerivation {
3737 ;
3838
3939 installPhase = ''
40+ runHook preInstall
4041 mkdir -vp $out/
4142 cp -v *.bin $out/
43+ runHook postInstall
4244 '';
4345
4446 meta = with lib; {
4547 description = "Firmware related ARM stubs for the Raspberry Pi";
46− homepage = https://github.com/raspberrypi/tools;
48+ homepage = "https://github.com/raspberrypi/tools";
4749 license = licenses.bsd3;
4850 platforms = [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ];
4951 maintainers = with maintainers; [ samueldr ];