2016-06-19 20:47:30 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2013-01-27 17:49:02 +00:00
|
|
|
|
2016-06-19 20:47:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-16 03:58:05 +00:00
|
|
|
pname = "raspberrypi-firmware";
|
2019-10-01 13:41:58 +01:00
|
|
|
version = "1.20190925";
|
2013-08-27 11:03:19 +01:00
|
|
|
|
2016-06-19 20:47:30 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raspberrypi";
|
|
|
|
repo = "firmware";
|
|
|
|
rev = version;
|
2019-10-01 13:41:58 +01:00
|
|
|
sha256 = "0xyj3f04dcfnl9hp8hakgwcb1msqh7934n0pclcmzy47xjkz7ris";
|
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
|
|
|
|
2016-04-13 20:02:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-01-27 17:49:02 +00:00
|
|
|
description = "Firmware for the Raspberry Pi board";
|
2018-04-02 21:20:02 +01:00
|
|
|
homepage = https://github.com/raspberrypi/firmware;
|
|
|
|
license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
|
2016-12-22 23:09:35 +00:00
|
|
|
platforms = [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ];
|
2018-07-22 20:50:19 +01:00
|
|
|
maintainers = with maintainers; [ dezgeg tavyc ];
|
2013-01-27 17:49:02 +00:00
|
|
|
};
|
|
|
|
}
|