@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, buildGoPackage }:
2+
3+buildGoPackage rec {
4+ name = "${pname}-${version}";
5+ pname = "amazon-ecs-agent";
6+ version = "1.14.0";
7+
8+ goPackagePath = "github.com/aws/${pname}";
9+ subPackages = [ "agent" ];
10+
11+ src = fetchFromGitHub {
12+ rev = "v${version}";
13+ owner = "aws";
14+ repo = pname;
15+ sha256 = "12c8l0x8pm883rlbdr1m07r0kjkzggkfz35cjqz8pzyr5ymjdrc3";
16+ };
17+
18+ meta = with stdenv.lib; {
19+ description = "The agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS";
20+ homepage = "https://github.com/aws/amazon-ecs-agent";
21+ license = licenses.asl20;
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ copumpkin ];
24+ };
25+}
26+