mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
27 lines
718 B
Nix
27 lines
718 B
Nix
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "amazon-ecs-agent";
|
|
version = "1.62.1";
|
|
|
|
goPackagePath = "github.com/aws/${pname}";
|
|
subPackages = [ "agent" ];
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "aws";
|
|
repo = pname;
|
|
sha256 = "sha256-p3o5Z6NIieBoEjxN8NnDYCSD4IQs2daxCwg4ndp5TTk=";
|
|
};
|
|
|
|
meta = with 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.unix;
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
mainProgram = "agent";
|
|
};
|
|
}
|
|
|