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:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user