netbootxyz-efi: 2.0.82 -> 2.0.87; modernize

This release adds support for nixos 24.11 boot. (25.05 release is not
cut by upstream yet.)
This commit is contained in:
Ihar Hrachyshka
2025-07-27 15:16:59 -04:00
parent abfaee3e26
commit ffc901364b
+20 -12
View File
@@ -1,23 +1,31 @@
{
lib,
stdenv,
fetchurl,
nix-update-script,
}:
let
stdenv.mkDerivation (finalAttrs: {
pname = "netboot.xyz-efi";
version = "2.0.82";
in
fetchurl {
name = "${pname}-${version}";
version = "2.0.87";
url = "https://github.com/netbootxyz/netboot.xyz/releases/download/${version}/netboot.xyz.efi";
sha256 = "sha256-cO8MCkroQ0s/j8wnwwIWfnxEvChLeOZw+gD4wrYBAog=";
src = fetchurl {
url = "https://github.com/netbootxyz/netboot.xyz/releases/download/${finalAttrs.version}/netboot.xyz.efi";
hash = "sha256-8kd17ChqLuVH5/OdPc2rVDKEDWHl9ZWLh8k+EBrCGH8=";
};
meta = with lib; {
dontUnpack = true;
postInstall = ''
cp $src $out
'';
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://netboot.xyz/";
description = "Tool to boot OS installers and utilities over the network, to be run from a bootloader";
license = licenses.asl20;
maintainers = with maintainers; [ pinpox ];
platforms = platforms.linux;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ pinpox ];
};
}
})