summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2023-08-21 16:57:26 +0800
committerCole Helbling <cole.e.helbling@outlook.com>2023-08-21 07:21:32 -0700
commit5086aba85ee884a179b29abbbfea2b212d0d3cd4 (patch)
tree8dd465ce5b536c0a4e4c0c91d3cb68e8c5a84958
parent49ca8fb4ee9717fbfe6f80eb8f61cf105aa5b563 (diff)
downloadnixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.tar
nixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.tar.gz
nixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.tar.bz2
nixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.tar.lz
nixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.tar.xz
nixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.tar.zst
nixpkgs-5086aba85ee884a179b29abbbfea2b212d0d3cd4.zip
buildkite-agent-metrics: 5.2.1 -> 5.7.0
-rw-r--r--pkgs/servers/monitoring/buildkite-agent-metrics/default.nix17
1 files changed, 3 insertions, 14 deletions
diff --git a/pkgs/servers/monitoring/buildkite-agent-metrics/default.nix b/pkgs/servers/monitoring/buildkite-agent-metrics/default.nix
index 8112feb75fe..e4cdb615968 100644
--- a/pkgs/servers/monitoring/buildkite-agent-metrics/default.nix
+++ b/pkgs/servers/monitoring/buildkite-agent-metrics/default.nix
@@ -1,11 +1,10 @@
 { lib
 , buildGoModule
 , fetchFromGitHub
-, fetchpatch
 }:
 buildGoModule rec {
   pname = "buildkite-agent-metrics";
-  version = "5.2.1";
+  version = "5.7.0";
 
   outputs = [ "out" "lambda" ];
 
@@ -13,20 +12,10 @@ buildGoModule rec {
     owner = "buildkite";
     repo = "buildkite-agent-metrics";
     rev = "v${version}";
-    sha256 = "XZYVCSJ/DIwoLrz37aQ3yW3RUhOhorY8L1AsAWxywcg=";
+    hash = "sha256-+DK8OP/rOWIBw+5Fprd5gzFo1rJDkDt4G20iUVmrfLw=";
   };
 
-  vendorSha256 = "UIkU3i45IEXWHdiakTj7f4W9kR49k4A93msfkqeXmQQ=";
-
-  patches = [
-    # Necessary to support passing the agent token in an env var, rather than on
-    # the command line. Should be removed upon the next release.
-    (fetchpatch {
-      name = "BUILDKITE_AGENT_TOKEN-env-var.patch";
-      url = "https://github.com/buildkite/buildkite-agent-metrics/commit/6c40b478b95f0e05fc12b87158222a9ff68169e0.patch";
-      sha256 = "Y4m9qGyPIROSqOY6G6xRQfFENEG4bFF3q5dZcHI4XiY=";
-    })
-  ];
+  vendorHash = "sha256-QfvHTJQEG5nvJy5ZZ9c66JYWMcR9Irow8OOyqDDjQN0=";
 
   postInstall = ''
     mkdir -p $lambda/bin