mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
29 lines
495 B
Nix
29 lines
495 B
Nix
{
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "edk2-spacemit-k3";
|
|
version = "ubuntu26.04-20260509";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "spacemit-com";
|
|
repo = "K3-Ubuntu-Images";
|
|
tag = "ubuntu26.04-20260509";
|
|
hash = "sha256-J0T3T/gOhKmld1du7J2z+DimZXShb+zoON3DHIz4Hy0=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out
|
|
cp gadget.in/edk2.itb $out/
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|