prometheus-snmp-exporter: 0.19.0 -> 0.20.0

This commit is contained in:
Robin Gloster 2021-05-11 13:53:36 -05:00
parent 1ea614c3de
commit a9ffa5dc2a
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -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;