2016-06-19 22:47:30 +03:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2013-01-27 17:49:02 +00:00
|
|
|
|
2016-06-19 22:47:30 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2020-12-13 22:57:15 -05:00
|
|
|
# NOTE: this should be updated with linux_rpi
|
2018-12-15 22:58:05 -05:00
|
|
|
pname = "raspberrypi-firmware";
|
2020-12-13 22:57:15 -05:00
|
|
|
version = "1.20201201";
|
2013-08-27 12:03:19 +02:00
|
|
|
|
2016-06-19 22:47:30 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raspberrypi";
|
|
|
|
repo = "firmware";
|
|
|
|
rev = version;
|
2020-12-13 22:57:15 -05:00
|
|
|
sha256 = "09yha3k72yqx29rwnv2j2zm73lzc4jgmcbmcc6yrl1i07x84lx3n";
|
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-10-06 20:47:01 +02:00
|
|
|
dontFixup = true;
|
|
|
|
|
2016-04-13 22:02:57 +03:00
|
|
|
meta = with stdenv.lib; {
|
2013-01-27 17:49:02 +00:00
|
|
|
description = "Firmware for the Raspberry Pi board";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/raspberrypi/firmware";
|
2018-04-02 23:20:02 +03:00
|
|
|
license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
|
2018-07-22 21:50:19 +02:00
|
|
|
maintainers = with maintainers; [ dezgeg tavyc ];
|
2013-01-27 17:49:02 +00:00
|
|
|
};
|
|
|
|
}
|