{ lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "buildkite-agent-metrics"; version = "5.9.4"; outputs = [ "out" "lambda" ]; src = fetchFromGitHub { owner = "buildkite"; repo = "buildkite-agent-metrics"; rev = "v${version}"; hash = "sha256-S9dkahAAoOwwEcWTzo+JkoZkQAQqPT5tfSZY9IWnWaU="; }; vendorHash = "sha256-r+K/RbNmVYm1LKTZvvKR9zBM35xLkMN8SadOttoTWzo="; postInstall = '' mkdir -p $lambda/bin mv $out/bin/lambda $lambda/bin ''; meta = with lib; { description = "A command-line tool (and Lambda) for collecting Buildkite agent metrics"; homepage = "https://github.com/buildkite/buildkite-agent-metrics"; license = licenses.mit; maintainers = teams.determinatesystems.members; }; }