mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
813 B
Nix
32 lines
813 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "lifecycled";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "buildkite";
|
|
repo = "lifecycled";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-zskN2T0+1xZPjppggeGpPFuQ8/AgPNyN77F33rDoghc=";
|
|
};
|
|
|
|
vendorHash = "sha256-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 = "Daemon for responding to AWS AutoScaling Lifecycle Hooks";
|
|
homepage = "https://github.com/buildkite/lifecycled/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ cole-h grahamc ];
|
|
};
|
|
}
|
|
|