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 { lib 2 , buildGoModule 3 , fetchFromGitHub 4 - , fetchpatch 5 }: 6 buildGoModule rec { 7 pname = "buildkite-agent-metrics"; 8 - version = "5.2.1"; 9 10 outputs = [ "out" "lambda" ]; 11 ··· 13 owner = "buildkite"; 14 repo = "buildkite-agent-metrics"; 15 rev = "v${version}"; 16 - sha256 = "XZYVCSJ/DIwoLrz37aQ3yW3RUhOhorY8L1AsAWxywcg="; 17 }; 18 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 - ]; 30 31 postInstall = '' 32 mkdir -p $lambda/bin
··· 1 { lib 2 , buildGoModule 3 , fetchFromGitHub 4 }: 5 buildGoModule rec { 6 pname = "buildkite-agent-metrics"; 7 + version = "5.7.0"; 8 9 outputs = [ "out" "lambda" ]; 10 ··· 12 owner = "buildkite"; 13 repo = "buildkite-agent-metrics"; 14 rev = "v${version}"; 15 + hash = "sha256-+DK8OP/rOWIBw+5Fprd5gzFo1rJDkDt4G20iUVmrfLw="; 16 }; 17 18 + vendorHash = "sha256-QfvHTJQEG5nvJy5ZZ9c66JYWMcR9Irow8OOyqDDjQN0="; 19 20 postInstall = '' 21 mkdir -p $lambda/bin