blob: a7934227ffab2e2ecf768ed7de029038fe2fbea8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "mysqld_exporter";
version = "0.10.0";
rev = "v${version}";
goPackagePath = "github.com/prometheus/mysqld_exporter";
src = fetchFromGitHub {
inherit rev;
owner = "prometheus";
repo = "mysqld_exporter";
sha256 = "1133bgyp5vljz2qvfh0qzq8h8bkc8vci3jnmbr633bh3jpaqm2py";
};
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 ];
platforms = platforms.unix;
};
}
|