diff options
author | Dan Peebles <pumpkin@me.com> | 2017-02-10 04:33:48 +0000 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-02-10 04:33:48 +0000 |
commit | 03cab2d923afec294e068a30c8bdb4a851415880 (patch) | |
tree | 5a6358e58ec09dd5aa90f69f62db7836adeede2c /pkgs/applications/virtualization/ecs-agent | |
parent | a848643709884b63441055842acf4c242f49e61a (diff) |
ecs-agent: init at 1.14.0
Diffstat (limited to 'pkgs/applications/virtualization/ecs-agent')
-rw-r--r-- | pkgs/applications/virtualization/ecs-agent/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/ecs-agent/default.nix b/pkgs/applications/virtualization/ecs-agent/default.nix new file mode 100644 index 000000000000..5b3610243be0 --- /dev/null +++ b/pkgs/applications/virtualization/ecs-agent/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, buildGoPackage }: + +buildGoPackage rec { + name = "${pname}-${version}"; + pname = "amazon-ecs-agent"; + version = "1.14.0"; + + goPackagePath = "github.com/aws/${pname}"; + subPackages = [ "agent" ]; + + src = fetchFromGitHub { + rev = "v${version}"; + owner = "aws"; + repo = pname; + sha256 = "12c8l0x8pm883rlbdr1m07r0kjkzggkfz35cjqz8pzyr5ymjdrc3"; + }; + + meta = with stdenv.lib; { + 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.linux; + maintainers = with maintainers; [ copumpkin ]; + }; +} + |