From 2a8cae3f502d9da7c683c29640953b925970bd76 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 24 May 2025 04:28:04 +0000 Subject: [PATCH] afterburn: 5.7.0 -> 5.8.2 --- pkgs/by-name/af/afterburn/package.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/af/afterburn/package.nix b/pkgs/by-name/af/afterburn/package.nix index 7d763191735f..9cf24239dea4 100644 --- a/pkgs/by-name/af/afterburn/package.nix +++ b/pkgs/by-name/af/afterburn/package.nix @@ -8,38 +8,40 @@ rustPlatform.buildRustPackage rec { pname = "afterburn"; - version = "5.7.0"; + version = "5.8.2"; src = fetchFromGitHub { owner = "coreos"; repo = "afterburn"; rev = "v${version}"; - sha256 = "sha256-j2eQUro0Rx1axBAaZDNICRrkygb4JAyxVAER/5BXXLY="; + sha256 = "sha256-hlcUtEc0uWFolCt+mZd7f68PJPa+i/mv+2aJh4Vhmsw="; }; useFetchCargoVendor = true; - cargoHash = "sha256-xA5hp7a4DFMh8Xrh2ft94s6aNjORKtyCuNy4GgJbSsw="; + cargoHash = "sha256-Wn4Np1rwHh2sL1sqKalJrIDgMffxJgD1C2QOAR8bDRo="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; postPatch = '' - substituteInPlace ./systemd/afterburn-checkin.service --replace /usr/bin $out/bin - substituteInPlace ./systemd/afterburn-firstboot-checkin.service --replace /usr/bin $out/bin - substituteInPlace ./systemd/afterburn-sshkeys@.service.in --replace /usr/bin $out/bin - substituteInPlace ./systemd/afterburn.service --replace /usr/bin $out/bin + substituteInPlace \ + ./systemd/afterburn-checkin.service \ + ./systemd/afterburn-firstboot-checkin.service \ + ./systemd/afterburn-sshkeys@.service.in \ + ./systemd/afterburn.service \ + --replace-fail /usr/bin "$out/bin" ''; postInstall = '' DEFAULT_INSTANCE=root PREFIX= DESTDIR=$out make install-units ''; - meta = with lib; { - homepage = "https://github.com/coreos/ignition"; + meta = { + homepage = "https://github.com/coreos/afterburn"; description = "One-shot cloud provider agent"; - license = licenses.asl20; - maintainers = [ maintainers.arianvp ]; - platforms = platforms.linux; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ arianvp ]; + platforms = lib.platforms.linux; mainProgram = "afterburn"; }; }