2021-05-11 05:34:18 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-01-05 14:48:00 +00:00
|
|
|
|
2021-05-11 05:34:18 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "rabbitmq_exporter";
|
2023-07-08 02:58:54 +00:00
|
|
|
version = "1.0.0-RC19";
|
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}";
|
2023-07-08 02:58:54 +00:00
|
|
|
hash = "sha256-31A0afmARdHxflR3n59DaqmLpTXws4OqROHfnc6cLKw=";
|
2018-01-05 14:48:00 +00:00
|
|
|
};
|
|
|
|
|
2023-07-08 02:58:54 +00:00
|
|
|
vendorHash = "sha256-ER0vK0xYUbQT3bqUosQMFT7HBycb3U8oI4Eak72myzs=";
|
2018-01-05 14:48:00 +00:00
|
|
|
|
2023-11-19 14:49:33 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
checkFlags = [
|
|
|
|
# Disable flaky tests on Darwin
|
|
|
|
"-skip=TestWholeApp|TestExporter"
|
|
|
|
];
|
|
|
|
|
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 01:11:51 +00: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
|
|
|
};
|
|
|
|
}
|