prometheus-snmp-exporter: 0.3.0 -> 0.9.0
This commit is contained in:
parent
f33aeab062
commit
5d0adad0ca
@ -2,16 +2,15 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "snmp_exporter-${version}";
|
name = "snmp_exporter-${version}";
|
||||||
version = "0.3.0";
|
version = "0.9.0";
|
||||||
rev = "v${version}";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/prometheus/snmp_exporter";
|
goPackagePath = "github.com/prometheus/snmp_exporter";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
|
||||||
owner = "prometheus";
|
owner = "prometheus";
|
||||||
repo = "snmp_exporter";
|
repo = "snmp_exporter";
|
||||||
sha256 = "1cklsi3cpalmnp0qjkgb7xbgbkr014hk2z54gfynzvzqjmsbxk6a";
|
rev = "v${version}";
|
||||||
|
sha256 = "081ah4zyy53plhm6znwrx55phm2ysxzyx7d4hm8zzrv5r967rgl1";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ net_snmp ];
|
buildInputs = [ net_snmp ];
|
||||||
@ -22,7 +21,7 @@ buildGoPackage rec {
|
|||||||
description = "SNMP Exporter for Prometheus";
|
description = "SNMP Exporter for Prometheus";
|
||||||
homepage = https://github.com/prometheus/snmp_exporter;
|
homepage = https://github.com/prometheus/snmp_exporter;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ oida ];
|
maintainers = with maintainers; [ oida willibutz ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user