2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "amazon-ecs-agent";
|
2022-10-30 15:09:59 +00:00
|
|
|
version = "1.65.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/aws/${pname}";
|
|
|
|
subPackages = [ "agent" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "aws";
|
|
|
|
repo = pname;
|
2022-10-30 15:09:59 +00:00
|
|
|
sha256 = "sha256-IsbY2ZQQq8eOhdT/ws1Yu7YlnQOyjhDaIr1knOHB4Yc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "agent";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|