edk2: add updateScript and changelog

This commit is contained in:
Adam Stephens 2024-06-19 21:50:36 -04:00
parent 62921811dd
commit 0de2895c09
No known key found for this signature in database

View File

@ -5,6 +5,7 @@
, bc , bc
, lib , lib
, buildPackages , buildPackages
, nix-update-script
}: }:
let let
@ -98,11 +99,14 @@ edk2 = stdenv.mkDerivation {
meta = with lib; { meta = with lib; {
description = "Intel EFI development kit"; description = "Intel EFI development kit";
homepage = "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II/"; homepage = "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II/";
changelog = "https://github.com/tianocore/edk2/releases/tag/edk2-stable${edk2.version}";
license = licenses.bsd2; license = licenses.bsd2;
platforms = with platforms; aarch64 ++ arm ++ i686 ++ x86_64 ++ riscv64; platforms = with platforms; aarch64 ++ arm ++ i686 ++ x86_64 ++ riscv64;
}; };
passthru = { passthru = {
updateScript = nix-update-script { };
mkDerivation = projectDscPath: attrsOrFun: stdenv.mkDerivation (finalAttrs: mkDerivation = projectDscPath: attrsOrFun: stdenv.mkDerivation (finalAttrs:
let let
attrs = lib.toFunction attrsOrFun finalAttrs; attrs = lib.toFunction attrsOrFun finalAttrs;