mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
raspberrypifw: 1.20220118 -> 1.20220331
This commit is contained in:
parent
693d960118
commit
d4eb5c68f2
@ -1,17 +1,17 @@
|
||||
{ lib, stdenvNoCC, fetchurl, unzip }:
|
||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
# NOTE: this should be updated with linux_rpi
|
||||
pname = "raspberrypi-firmware";
|
||||
version = "1.20220118";
|
||||
version = "1.20220331";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/raspberrypi/firmware/archive/${version}.zip";
|
||||
sha256 = "sha256-98rbwKIuB7vb4MWbFCr7TYsvJB0HzPdH8Tw0+bktK/M=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "raspberrypi";
|
||||
repo = "firmware";
|
||||
rev = version;
|
||||
hash = "sha256-TxlpHPEJAtVJTtDghuJpx2mLjEPiKkcAr7S9Cd/cocE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/raspberrypi/
|
||||
mv boot "$out/share/raspberrypi/"
|
||||
|
Loading…
Reference in New Issue
Block a user