Merge pull request #129287 from helsinki-systems/upd/prometheus-mysqld-exporter

prometheus-mysqld-exporter: 0.12.1 -> 0.13.0
This commit is contained in:
ajs124 2021-07-05 21:11:51 +02:00 committed by GitHub
commit ff78b89b37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,22 @@
{ lib, buildGoPackage, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec { buildGoModule rec {
pname = "mysqld_exporter"; pname = "mysqld_exporter";
version = "0.12.1"; version = "0.13.0";
rev = "v${version}"; rev = "v${version}";
goPackagePath = "github.com/prometheus/mysqld_exporter";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; inherit rev;
owner = "prometheus"; owner = "prometheus";
repo = "mysqld_exporter"; repo = "mysqld_exporter";
sha256 = "0nzbfzx4dzs3cagdid1fqddrqimgr8x6r8gmmxglrss05c8srgs8"; sha256 = "05gb6p65a0ys356qnanwc40klz1izrib37rz5yzyg2ysvamlvmys";
}; };
vendorSha256 = "19785rfzlx8h0h8vmg0ghd40h3p4y6ikhgf8rd2qfj5f6qxfhrgv";
# skips tests with external dependencies, e.g. on mysqld
checkFlags = [ "-short" ];
meta = with lib; { meta = with lib; {
description = "Prometheus exporter for MySQL server metrics"; description = "Prometheus exporter for MySQL server metrics";
homepage = "https://github.com/prometheus/mysqld_exporter"; homepage = "https://github.com/prometheus/mysqld_exporter";