{ lib , buildGoModule , fetchFromGitHub }: buildGoModule rec { pname = "buildkite-agent-metrics"; version = "5.7.0"; outputs = [ "out" "lambda" ]; src = fetchFromGitHub { owner = "buildkite"; repo = "buildkite-agent-metrics"; rev = "v${version}"; hash = "sha256-+DK8OP/rOWIBw+5Fprd5gzFo1rJDkDt4G20iUVmrfLw="; }; vendorHash = "sha256-QfvHTJQEG5nvJy5ZZ9c66JYWMcR9Irow8OOyqDDjQN0="; 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; }; }