Unverified Commit 332f4065 authored by Sergei Lukianov's avatar Sergei Lukianov
Browse files

prometheus-snmp-exporter: 0.29.0 -> 0.30.1



Add noop config to make snmp-exporter actually start without error as it
now requires at least some modules configured.

Signed-off-by: default avatarSergei Lukianov <me@slukjanov.name>
parent 7578391c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1733,6 +1733,7 @@ let
              community = "public";
              version = 2;
            };
            modules.test = { };
          };
        };
        exporterTest = ''
+3 −3
Original line number Diff line number Diff line
@@ -8,16 +8,16 @@

buildGoModule rec {
  pname = "snmp_exporter";
  version = "0.29.0";
  version = "0.30.1";

  src = fetchFromGitHub {
    owner = "prometheus";
    repo = "snmp_exporter";
    rev = "v${version}";
    sha256 = "sha256-eM3R4wNsBeGscaTzqdrj9ceiKFjRF3F78SWDamNMEYM=";
    sha256 = "sha256-vLgqcqjnUvXYlxVyybDvra9YY5Im17L4I3LLf77tR8M=";
  };

  vendorHash = "sha256-C5iY3hBqepxLkGwPDVmnDf/ugF4h5y8scEomU9mkMEM=";
  vendorHash = "sha256-3Rjt91Xb0Y5OCkwGQVQLZ6zK0+xVk8XNrGfax6zZJ7o=";

  buildInputs = [ net-snmp ];