Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

buildkite-agent-metrics: 5.2.1 -> 5.7.0

authored by Aaron Jheng and committed by helbling.dev 5086aba8 49ca8fb4

+3 -14
+3 -14
pkgs/servers/monitoring/buildkite-agent-metrics/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 }: 6 5 buildGoModule rec { 7 6 pname = "buildkite-agent-metrics"; 8 - version = "5.2.1"; 7 + version = "5.7.0"; 9 8 10 9 outputs = [ "out" "lambda" ]; 11 10 ··· 13 12 owner = "buildkite"; 14 13 repo = "buildkite-agent-metrics"; 15 14 rev = "v${version}"; 16 - sha256 = "XZYVCSJ/DIwoLrz37aQ3yW3RUhOhorY8L1AsAWxywcg="; 15 + hash = "sha256-+DK8OP/rOWIBw+5Fprd5gzFo1rJDkDt4G20iUVmrfLw="; 17 16 }; 18 17 19 - vendorSha256 = "UIkU3i45IEXWHdiakTj7f4W9kR49k4A93msfkqeXmQQ="; 20 - 21 - patches = [ 22 - # Necessary to support passing the agent token in an env var, rather than on 23 - # the command line. Should be removed upon the next release. 24 - (fetchpatch { 25 - name = "BUILDKITE_AGENT_TOKEN-env-var.patch"; 26 - url = "https://github.com/buildkite/buildkite-agent-metrics/commit/6c40b478b95f0e05fc12b87158222a9ff68169e0.patch"; 27 - sha256 = "Y4m9qGyPIROSqOY6G6xRQfFENEG4bFF3q5dZcHI4XiY="; 28 - }) 29 - ]; 18 + vendorHash = "sha256-QfvHTJQEG5nvJy5ZZ9c66JYWMcR9Irow8OOyqDDjQN0="; 30 19 31 20 postInstall = '' 32 21 mkdir -p $lambda/bin