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