From e3ce6c59026793ee20dae4825a8c35dc1056ff31 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Wed, 30 Oct 2019 16:12:11 +0100 Subject: [PATCH] prometheus-postgres-exporter: 0.5.1 -> 0.6.0 --- .../monitoring/prometheus/postgres-exporter.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/postgres-exporter.nix b/pkgs/servers/monitoring/prometheus/postgres-exporter.nix index abc7db8086bb..54a0dc58e8a8 100644 --- a/pkgs/servers/monitoring/prometheus/postgres-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/postgres-exporter.nix @@ -1,10 +1,8 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: - -with stdenv.lib; +{ lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "postgres_exporter"; - version = "0.5.1"; + version = "0.6.0"; goPackagePath = "github.com/wrouesnel/postgres_exporter"; @@ -12,13 +10,13 @@ buildGoPackage rec { owner = "wrouesnel"; repo = "postgres_exporter"; rev = "v${version}"; - sha256 = "1awcqhiak56nrsaa49lkw6mcbrlm86ls14sp9v69h3a0brc1q7bn"; + sha256 = "0a903mklp3aardlbz5fkslisav9khd1w3akcf9xkc5nfinr6xnqb"; }; - meta = { + meta = with lib; { inherit (src.meta) homepage; description = "A Prometheus exporter for PostgreSQL"; license = licenses.asl20; - maintainers = with maintainers; [ fpletz globin ]; + maintainers = with maintainers; [ fpletz globin willibutz ]; }; }