prometheus-snmp-exporter: init at v0.1.0

This commit is contained in:
oida
2016-12-29 02:03:12 +01:00
committed by Robin Gloster
parent 8837b4a1c6
commit 8376f5cc3a
3 changed files with 28 additions and 0 deletions
@@ -0,0 +1,26 @@
{ stdenv, lib, go, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "snmp_exporter-${version}";
version = "0.1.0";
rev = "v${version}";
goPackagePath = "github.com/prometheus/snmp_exporter";
src = fetchFromGitHub {
inherit rev;
owner = "prometheus";
repo = "snmp_exporter";
sha256 = "1faa1gla5nqkhf1kq60v22bcph41qix3dn9db0w0fh2pkxpdxvrp";
};
doCheck = true;
meta = with stdenv.lib; {
description = "SNMP Exporter for Prometheus";
homepage = https://github.com/prometheus/snmp_exporter;
license = licenses.asl20;
maintainers = with maintainers; [ oida ];
platforms = platforms.unix;
};
}