nixpkgs/pkgs/applications/virtualization/ecs-agent/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
826 B
Nix
Raw Normal View History

2022-11-13 15:23:56 +01:00
{ lib, fetchFromGitHub, buildGoModule }:
2017-02-10 05:33:48 +01:00
2022-11-13 15:23:56 +01:00
buildGoModule rec {
pname = "amazon-ecs-agent";
version = "1.66.2";
2017-02-10 05:33:48 +01:00
src = fetchFromGitHub {
2022-11-13 15:23:56 +01:00
rev = "v${version}";
owner = "aws";
repo = pname;
hash = "sha256-mZzDvD+40YiC8cBpLlYd7K1p5UBYpso9OMCDijopuik=";
2017-02-10 05:33:48 +01:00
};
2022-11-13 15:23:56 +01:00
vendorHash = null;
modRoot = "./agent";
excludedPackages = [ "./version/gen" ];
2022-11-12 06:10:00 +01:00
ldflags = [ "-s" "-w" ];
meta = with lib; {
2017-02-10 05:33:48 +01:00
description = "The agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS";
2022-11-13 15:23:56 +01:00
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;
2017-02-10 05:33:48 +01:00
maintainers = with maintainers; [ copumpkin ];
mainProgram = "agent";
2017-02-10 05:33:48 +01:00
};
}