mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
afterburn: 5.7.0 -> 5.8.2
This commit is contained in:
parent
a61befb69a
commit
2a8cae3f50
1 changed files with 14 additions and 12 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue