From 7ea82280af535b9b3fe1b70b370cdbadc5313b6a Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 10 May 2021 22:55:19 -0500 Subject: [PATCH] prometheus-blackbox-exporter: 0.18.0 -> 0.19.0 --- .../monitoring/prometheus/blackbox-exporter.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix b/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix index 88ef3f02602c..da235ff96fb2 100644 --- a/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix @@ -1,19 +1,18 @@ -{ lib, buildGoPackage, fetchFromGitHub, nixosTests }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: -buildGoPackage rec { +buildGoModule rec { pname = "blackbox_exporter"; - version = "0.18.0"; - rev = version; - - goPackagePath = "github.com/prometheus/blackbox_exporter"; + version = "0.19.0"; src = fetchFromGitHub { rev = "v${version}"; owner = "prometheus"; repo = "blackbox_exporter"; - sha256 = "1h4s0ww1drh14slrj9m7mx224qx9c6hyjav8sj959r75902i9491"; + sha256 = "1lrabbp6nsd9h3hs3y5a37yl4g8zzkv0m3vhz2vrir3wmfn07n4g"; }; + vendorSha256 = "1wi9dmbxb6i1qglnp1v0lkqpp7l29lrbsg4lvx052nkcwkgq8g1y"; + # dns-lookup is performed for the tests doCheck = false;