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 14:23:56 +00:00
{ lib, fetchFromGitHub, buildGoModule }:
2017-02-10 04:33:48 +00:00
2022-11-13 14:23:56 +00:00
buildGoModule rec {
pname = "amazon-ecs-agent";
2023-07-18 23:48:48 +00:00
version = "1.73.1";
2017-02-10 04:33:48 +00:00
src = fetchFromGitHub {
2022-11-13 14:23:56 +00:00
rev = "v${version}";
owner = "aws";
repo = pname;
2023-07-18 23:48:48 +00:00
hash = "sha256-+IFlr1xLLnk0Ox3CcHUdEEiDqk5z0MegWu6h9RW7M8Q=";
2017-02-10 04:33:48 +00:00
};
2022-11-13 14:23:56 +00:00
vendorHash = null;
modRoot = "./agent";
excludedPackages = [ "./version/gen" ];
2022-11-12 05:10:00 +00:00
ldflags = [ "-s" "-w" ];
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";
2022-11-13 14:23:56 +00: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 04:33:48 +00:00
maintainers = with maintainers; [ copumpkin ];
mainProgram = "agent";
2017-02-10 04:33:48 +00:00
};
}