libfmvoice: 0-unstable-2024-11-08 -> 0-unstable-2024-12-11 (#364919)
[NixPkgs.git] / pkgs / by-name / ec / ecs-agent / package.nix
blobe1ac1d16a565731de6b92ac67c0a35a120a881ef
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "amazon-ecs-agent";
5   version = "1.88.0";
7   src = fetchFromGitHub {
8     rev = "v${version}";
9     owner = "aws";
10     repo = pname;
11     hash = "sha256-ljTMfucHdcfDrpKKVguFlCM6S4ezBzM67C8SBdulYdY=";
12   };
14   vendorHash = null;
16   modRoot = "./agent";
18   excludedPackages = [ "./version/gen" ];
20   ldflags = [ "-s" "-w" ];
22   meta = with lib; {
23     description = "Agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS";
24     homepage = "https://github.com/aws/amazon-ecs-agent";
25     changelog = "https://github.com/aws/amazon-ecs-agent/raw/v${version}/CHANGELOG.md";
26     license = licenses.asl20;
27     platforms = platforms.linux;
28     maintainers = with maintainers; [ copumpkin ];
29     mainProgram = "agent";
30   };