504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
32 lines
826 B
Nix
32 lines
826 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "amazon-ecs-agent";
|
|
version = "1.78.1";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "aws";
|
|
repo = pname;
|
|
hash = "sha256-8/hHv5veTQXNg8c5oew+5FWLAQkytTD2+Gdb30sY9lo=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
modRoot = "./agent";
|
|
|
|
excludedPackages = [ "./version/gen" ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "The agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS";
|
|
homepage = "https://github.com/aws/amazon-ecs-agent";
|
|
changelog = "https://github.com/aws/amazon-ecs-agent/raw/v${version}/CHANGELOG.md";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
mainProgram = "agent";
|
|
};
|
|
}
|
|
|