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";
|
2019-10-01 05:41:58 -07:00
|
|
|
version = "1.20190925";
|
2013-08-27 03:03:19 -07:00
|
|
|
|
2016-06-19 12:47:30 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raspberrypi";
|
|
|
|
repo = "firmware";
|
|
|
|
rev = version;
|
2019-10-01 05:41:58 -07:00
|
|
|
sha256 = "0xyj3f04dcfnl9hp8hakgwcb1msqh7934n0pclcmzy47xjkz7ris";
|
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
|
|
|
|
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
|
2016-12-22 15:09:35 -08:00
|
|
|
platforms = [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ];
|
2018-07-22 12:50:19 -07:00
|
|
|
maintainers = with maintainers; [ dezgeg tavyc ];
|
2013-01-27 09:49:02 -08:00
|
|
|
};
|
|
|
|
}
|