lifecycled: init at 3.1.0
This commit is contained in:
parent
2916614aa7
commit
9d74b73a07
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/misc/lifecycled/default.nix
Normal file
31
pkgs/tools/misc/lifecycled/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "lifecycled";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildkite";
|
||||
repo = "lifecycled";
|
||||
rev = "v${version}";
|
||||
sha256 = "F9eovZpwbigP0AMdjAIxULPLDC3zO6GxQmPdt5Xvpkk=";
|
||||
};
|
||||
|
||||
vendorSha256 = "q5wYKSLHRzL+UGn29kr8+mUupOPR1zohTscbzjMRCS0=";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/systemd/system
|
||||
substitute init/systemd/lifecycled.unit $out/lib/systemd/system/lifecycled.service \
|
||||
--replace /usr/bin/lifecycled $out/bin/lifecycled
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A daemon for responding to AWS AutoScaling Lifecycle Hooks";
|
||||
homepage = "https://github.com/buildkite/lifecycled/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cole-h grahamc ];
|
||||
};
|
||||
}
|
||||
|
|
@ -797,6 +797,8 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL;
|
||||
};
|
||||
|
||||
lifecycled = callPackage ../tools/misc/lifecycled { };
|
||||
|
||||
lilyterm = callPackage ../applications/terminal-emulators/lilyterm {
|
||||
inherit (gnome2) vte;
|
||||
gtk = gtk2;
|
||||
|
|
Loading…
Reference in a new issue