2016-06-19 12:47:30 -07:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2013-01-27 09:49:02 -08:00
|
|
|
|
2016-06-19 12:47:30 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-15 19:58:05 -08:00
|
|
|
pname = "raspberrypi-firmware";
|
2020-10-26 03:29:28 -07:00
|
|
|
version = "1.20201022";
|
2013-08-27 03:03:19 -07:00
|
|
|
|
2016-06-19 12:47:30 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raspberrypi";
|
|
|
|
repo = "firmware";
|
|
|
|
rev = version;
|
2020-10-26 03:29:28 -07:00
|
|
|
sha256 = "0j5m50cmmr11m3h8kk89j1pqkdqr7mzdzg04ayiqvfhvy32qqlg8";
|
2013-01-27 09:49:02 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/raspberrypi/boot
|
|
|
|
cp -R boot/* $out/share/raspberrypi/boot
|
|
|
|
'';
|
2014-11-05 16:44:33 -08:00
|
|
|
|
2020-10-06 11:47:01 -07:00
|
|
|
dontFixup = true;
|
|
|
|
|
2016-04-13 12:02:57 -07:00
|
|
|
meta = with stdenv.lib; {
|
2013-01-27 09:49:02 -08:00
|
|
|
description = "Firmware for the Raspberry Pi board";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/raspberrypi/firmware";
|
2018-04-02 13:20:02 -07:00
|
|
|
license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
|
2018-07-22 12:50:19 -07:00
|
|
|
maintainers = with maintainers; [ dezgeg tavyc ];
|
2013-01-27 09:49:02 -08:00
|
|
|
};
|
|
|
|
}
|