2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 15:26:09 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mesos_exporter";
|
2021-05-11 06:43:29 +02:00
|
|
|
version = "1.1.2";
|
2016-06-05 15:26:09 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/prometheus/mesos_exporter";
|
|
|
|
|
2016-06-06 12:26:56 +02:00
|
|
|
src = fetchFromGitHub {
|
2021-05-11 06:43:29 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
owner = "mesos";
|
2016-06-06 12:26:56 +02:00
|
|
|
repo = "mesos_exporter";
|
2021-05-11 06:43:29 +02:00
|
|
|
sha256 = "0nvjlpxdhh60wcdw2fdc8h0vn6fxkz0nh7zrx43hjxymvc15ixza";
|
2016-06-05 15:26:09 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-06-05 15:26:09 +02:00
|
|
|
description = "Export Mesos metrics to Prometheus";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/prometheus/mesos_exporter";
|
2016-06-05 15:26:09 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ benley ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|