f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
32 lines
822 B
Nix
32 lines
822 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
pname = "amazon-ecs-agent";
|
|
version = "1.85.1";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "aws";
|
|
repo = pname;
|
|
hash = "sha256-TrfFJ6N1DreO3NcznXBcNZziESAMxWa4FR+KzDjRDmM=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
modRoot = "./agent";
|
|
|
|
excludedPackages = [ "./version/gen" ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "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";
|
|
};
|
|
}
|
|
|