3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix
2019-08-23 16:06:54 +02:00

25 lines
666 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "mysqld_exporter-${version}";
version = "0.11.0";
rev = "v${version}";
goPackagePath = "github.com/prometheus/mysqld_exporter";
src = fetchFromGitHub {
inherit rev;
owner = "prometheus";
repo = "mysqld_exporter";
sha256 = "1684jf96dy5bs0y0689vlcw82lqw8kw2phlnp6pq1cq56fcwdxjn";
};
meta = with stdenv.lib; {
description = "Prometheus exporter for MySQL server metrics";
homepage = https://github.com/prometheus/mysqld_exporter;
license = licenses.asl20;
maintainers = with maintainers; [ benley globin ];
platforms = platforms.unix;
};
}