2021-05-11 07:34:18 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-01-05 15:48:00 +01:00
|
|
|
|
2021-05-11 07:34:18 +02:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "rabbitmq_exporter";
|
2021-05-11 07:34:18 +02:00
|
|
|
version = "1.0.0-RC8";
|
2018-01-05 15:48:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kbudde";
|
|
|
|
repo = "rabbitmq_exporter";
|
2021-01-16 05:29:06 +01:00
|
|
|
rev = "v${version}";
|
2021-05-11 07:34:18 +02:00
|
|
|
sha256 = "162rjp1j56kcq0vdi0ch09ka101zslxp684x6jvw0jq0aix4zj3r";
|
2018-01-05 15:48:00 +01:00
|
|
|
};
|
|
|
|
|
2021-05-11 07:34:18 +02:00
|
|
|
vendorSha256 = "1cvdqf5pdwczhqz6xb6w86h7gdr0l8fc3lav88xq26r4x75cm6v0";
|
2018-01-05 15:48:00 +01:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|