a4fd2de975
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
27 lines
759 B
Nix
27 lines
759 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "raspberrypi-firmware";
|
|
version = "1.20201022";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "raspberrypi";
|
|
repo = "firmware";
|
|
rev = version;
|
|
sha256 = "0j5m50cmmr11m3h8kk89j1pqkdqr7mzdzg04ayiqvfhvy32qqlg8";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|