prometheus-consul-exporter: 0.7.1 -> 0.8.0
This commit is contained in:
parent
665bb90fc3
commit
f38b473946
|
@ -1,18 +1,20 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "consul_exporter";
|
||||
version = "0.7.1";
|
||||
|
||||
goPackagePath = "github.com/prometheus/consul_exporter";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prometheus";
|
||||
repo = "consul_exporter";
|
||||
rev = "v${version}";
|
||||
sha256 = "16ibafcbpiplsh1awcvblzzf2cbr4baf8wiwpdpibgmcwwf9m5ya";
|
||||
sha256 = "sha256-5odAKMWK2tDZ3a+bIVIdPgzxrW64hF8nNqItGO7sODI=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-vbaiHeQRo9hsHa/10f4202xLe9mduELRJMCDFuyKlW0=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter for Consul metrics";
|
||||
homepage = "https://github.com/prometheus/consul_exporter";
|
||||
|
|
Loading…
Reference in a new issue