consul_exporter: init at 0.3.0 (#27162)

This commit is contained in:
Hector Jusforgues
2017-07-07 10:01:45 +01:00
committed by Jörg Thalheim
parent b8726c346c
commit 0f2db06540
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,23 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "consul_exporter-${version}";
version = "0.3.0";
goPackagePath = "github.com/prometheus/consul_exporter";
src = fetchFromGitHub {
owner = "prometheus";
repo = "consul_exporter";
rev = "v${version}";
sha256 = "1zffbxyfmqpbdqkx5rb5vjgd9j4p4zcrh6jvn1zhbdzrcs7khnd9";
};
meta = with stdenv.lib; {
description = "Prometheus exporter for Consul metrics";
homepage = https://github.com/prometheus/consul_exporter;
license = licenses.asl20;
maintainers = with maintainers; [ hectorj ];
platforms = platforms.unix;
};
}