2021-01-15 14:45:37 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2013-01-27 17:49:02 +00:00
|
|
|
|
2020-12-26 15:51:10 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-12-14 03:57:15 +00:00
|
|
|
# NOTE: this should be updated with linux_rpi
|
2018-12-16 03:58:05 +00:00
|
|
|
pname = "raspberrypi-firmware";
|
2021-08-06 17:40:45 +00:00
|
|
|
version = "1.20210805";
|
2013-08-27 10:03:19 +00:00
|
|
|
|
2016-06-19 19:47:30 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raspberrypi";
|
|
|
|
repo = "firmware";
|
|
|
|
rev = version;
|
2021-08-06 17:40:45 +00:00
|
|
|
sha256 = "1nndhjv4il42yw3pq8ni3r4nlp1m0r229fadrf4f9v51mgcg11i1";
|
2013-01-27 17:49:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/raspberrypi/boot
|
|
|
|
cp -R boot/* $out/share/raspberrypi/boot
|
|
|
|
'';
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2020-12-26 15:51:10 +00:00
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
2020-10-06 18:47:01 +00:00
|
|
|
dontFixup = true;
|
|
|
|
|
2021-01-15 14:45:37 +00:00
|
|
|
meta = with lib; {
|
2013-01-27 17:49:02 +00:00
|
|
|
description = "Firmware for the Raspberry Pi board";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/raspberrypi/firmware";
|
2018-04-02 20:20:02 +00:00
|
|
|
license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
|
2021-04-22 09:28:57 +00:00
|
|
|
maintainers = with maintainers; [ dezgeg ];
|
2013-01-27 17:49:02 +00:00
|
|
|
};
|
|
|
|
}
|