blob: 9c83092481b6b90b4e4e39aaab8edbdc9cee31fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "raspberrypi-firmware-${version}";
version = "1.20171029";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "firmware";
rev = version;
sha256 = "12aisha8rlr28310hakps04z9p45kd2wvks0w1vxw1kwfh1ncy9s";
};
installPhase = ''
mkdir -p $out/share/raspberrypi/boot
cp -R boot/* $out/share/raspberrypi/boot
'';
meta = with stdenv.lib; {
description = "Firmware for the Raspberry Pi board";
homepage = https://github.com/raspberrypi/firmware;
license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom
platforms = [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ];
maintainers = with maintainers; [ dezgeg viric tavyc ];
};
}
|