2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2017-02-10 04:33:48 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "amazon-ecs-agent";
|
2018-06-25 09:15:40 +00:00
|
|
|
version = "1.18.0";
|
2017-02-10 04:33:48 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/aws/${pname}";
|
|
|
|
subPackages = [ "agent" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "aws";
|
|
|
|
repo = pname;
|
2018-06-25 09:15:40 +00:00
|
|
|
sha256 = "1l6c2if6wpjmq2hh6k818w38s1rsbwgd6igqy948dwcrb1g1mixr";
|
2017-02-10 04:33:48 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-02-10 04:33:48 +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;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-02-10 04:33:48 +00:00
|
|
|
maintainers = with maintainers; [ copumpkin ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "agent";
|
2017-02-10 04:33:48 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|