From 60396b1a6c649866c519d63c162d5cf7fca7fbdf Mon Sep 17 00:00:00 2001 From: ajs124 Date: Mon, 5 Jul 2021 02:33:51 +0200 Subject: [PATCH] prometheus-mysqld-exporter: 0.12.1 -> 0.13.0 https://github.com/prometheus/mysqld_exporter/blob/master/CHANGELOG.md#0130--2021-05-18 --- .../monitoring/prometheus/mysqld-exporter.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix b/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix index ff32764fcde6..9a856eedf682 100644 --- a/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix @@ -1,19 +1,22 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { pname = "mysqld_exporter"; - version = "0.12.1"; + version = "0.13.0"; rev = "v${version}"; - goPackagePath = "github.com/prometheus/mysqld_exporter"; - src = fetchFromGitHub { inherit rev; owner = "prometheus"; repo = "mysqld_exporter"; - sha256 = "0nzbfzx4dzs3cagdid1fqddrqimgr8x6r8gmmxglrss05c8srgs8"; + sha256 = "05gb6p65a0ys356qnanwc40klz1izrib37rz5yzyg2ysvamlvmys"; }; + vendorSha256 = "19785rfzlx8h0h8vmg0ghd40h3p4y6ikhgf8rd2qfj5f6qxfhrgv"; + + # skips tests with external dependencies, e.g. on mysqld + checkFlags = [ "-short" ]; + meta = with lib; { description = "Prometheus exporter for MySQL server metrics"; homepage = "https://github.com/prometheus/mysqld_exporter";