4a3aa3d7d8
GitOrigin-RevId: 24c9b05ac53e422f1af81a156f1fd58499eb27fb
27 lines
759 B
Nix
27 lines
759 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "raspberrypi-firmware";
|
|
version = "1.20200902";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raspberrypi";
|
|
repo = "firmware";
|
|
rev = version;
|
|
sha256 = "1dj5vyhz2ljka7hwhl6s14hd017fspix1xp7zbm7lzdyys9jb9ni";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/raspberrypi/boot
|
|
cp -R boot/* $out/share/raspberrypi/boot
|
|
'';
|
|
|
|
dontFixup = true;
|
|
|
|
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
|
|
maintainers = with maintainers; [ dezgeg tavyc ];
|
|
};
|
|
}
|