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