2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-01-05 14:48:00 +00:00
|
|
|
|
2021-01-16 04:29:06 +00:00
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rabbitmq_exporter";
|
2021-01-16 04:29:06 +00:00
|
|
|
version = "1.0.0-RC7.1";
|
2018-01-05 14:48:00 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/kbudde/rabbitmq_exporter";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kbudde";
|
|
|
|
repo = "rabbitmq_exporter";
|
2021-01-16 04:29:06 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "5Agg99yHBMgpWGD6Nk+WvAorRc7j2PGD+3z7nO3N/5s=";
|
2018-01-05 14:48:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./rabbitmq-exporter_deps.nix;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-01-05 14:48:00 +00:00
|
|
|
description = "Prometheus exporter for RabbitMQ";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/kbudde/rabbitmq_exporter";
|
2018-01-05 14:48:00 +00:00
|
|
|
license = licenses.mit;
|
2020-12-07 14:26:45 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-01-05 14:48:00 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|