From a9ffa5dc2ad66a7edc872d4fd31f2c72cf01a3a2 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 11 May 2021 13:53:36 -0500 Subject: [PATCH] prometheus-snmp-exporter: 0.19.0 -> 0.20.0 --- pkgs/servers/monitoring/prometheus/snmp-exporter.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/snmp-exporter.nix b/pkgs/servers/monitoring/prometheus/snmp-exporter.nix index ece22e496d12..effb2ab90792 100644 --- a/pkgs/servers/monitoring/prometheus/snmp-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/snmp-exporter.nix @@ -1,18 +1,18 @@ -{ lib, buildGoPackage, fetchFromGitHub, net-snmp, nixosTests }: +{ lib, buildGoModule, fetchFromGitHub, net-snmp, nixosTests }: -buildGoPackage rec { +buildGoModule rec { pname = "snmp_exporter"; - version = "0.19.0"; - - goPackagePath = "github.com/prometheus/snmp_exporter"; + version = "0.20.0"; src = fetchFromGitHub { owner = "prometheus"; repo = "snmp_exporter"; rev = "v${version}"; - sha256 = "1ppi5lmc2lryawpw1b3kpg3qxr7v62zbiwg2v1d8sq1y5b2xdza6"; + sha256 = "0qwbnx3l25460qbah4ik9mlcyrm31rwm51451gh0jprii80cf16x"; }; + vendorSha256 = "1rivil3hwk269ikrwc4i22k2y5c9zs5ac058y7llz8ivrrjr2w4h"; + buildInputs = [ net-snmp ]; doCheck = true;