1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/servers/monitoring/prometheus/mesos-exporter.nix
2021-05-10 23:43:29 -05:00

24 lines
606 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "mesos_exporter";
version = "1.1.2";
goPackagePath = "github.com/prometheus/mesos_exporter";
src = fetchFromGitHub {
rev = "v${version}";
owner = "mesos";
repo = "mesos_exporter";
sha256 = "0nvjlpxdhh60wcdw2fdc8h0vn6fxkz0nh7zrx43hjxymvc15ixza";
};
meta = with lib; {
description = "Export Mesos metrics to Prometheus";
homepage = "https://github.com/prometheus/mesos_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ benley ];
platforms = platforms.unix;
};
}