nixpkgs/pkgs/applications/virtualization/ecs-agent/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
826 B
Nix
Raw Normal View History

2022-11-13 17:23:56 +03:00
{ lib, fetchFromGitHub, buildGoModule }:
2017-02-10 07:33:48 +03:00
2022-11-13 17:23:56 +03:00
buildGoModule rec {
pname = "amazon-ecs-agent";
2022-12-16 01:58:45 +03:00
version = "1.67.2";
2017-02-10 07:33:48 +03:00
src = fetchFromGitHub {
2022-11-13 17:23:56 +03:00
rev = "v${version}";
owner = "aws";
repo = pname;
2022-12-16 01:58:45 +03:00
hash = "sha256-iSL5ogS8BLcxge3eo+kCqtsGmj7P1wbi+/84nA9fO2Q=";
2017-02-10 07:33:48 +03:00
};
2022-11-13 17:23:56 +03:00
vendorHash = null;
modRoot = "./agent";
excludedPackages = [ "./version/gen" ];
2022-11-12 08:10:00 +03:00
ldflags = [ "-s" "-w" ];
meta = with lib; {
2017-02-10 07:33:48 +03:00
description = "The agent that runs on AWS EC2 container instances and starts containers on behalf of Amazon ECS";
2022-11-13 17:23:56 +03:00
homepage = "https://github.com/aws/amazon-ecs-agent";
changelog = "https://github.com/aws/amazon-ecs-agent/raw/v${version}/CHANGELOG.md";
license = licenses.asl20;
platforms = platforms.linux;
2017-02-10 07:33:48 +03:00
maintainers = with maintainers; [ copumpkin ];
mainProgram = "agent";
2017-02-10 07:33:48 +03:00
};
}