prometheus-postgres-exporter: 0.8.0 -> 0.9.0
ChangeLog: https://github.com/prometheus-community/postgres_exporter/blob/v0.9.0/CHANGELOG.md
This commit is contained in:
parent
9a1f63beac
commit
76fc1ae238
@ -1,18 +1,18 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "postgres_exporter";
|
pname = "postgres_exporter";
|
||||||
version = "0.8.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/wrouesnel/postgres_exporter";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wrouesnel";
|
owner = "wrouesnel";
|
||||||
repo = "postgres_exporter";
|
repo = "postgres_exporter";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0mid2kvskab3a32jscygg5jh0741nr7dvxzj4v029yiiqcx55nrc";
|
sha256 = "sha256-Kv+sjqhlmH36L4YvDuGYODR/eTHA2TKQ6IUCXAiItyo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-yMcoUl9NsiiZQyEHlLu79DzIyl6BbhLZ/xNFavaGrEs=";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) postgres; };
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) postgres; };
|
||||||
@ -21,6 +21,6 @@ buildGoPackage rec {
|
|||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
description = "A Prometheus exporter for PostgreSQL";
|
description = "A Prometheus exporter for PostgreSQL";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ fpletz globin willibutz ];
|
maintainers = with maintainers; [ fpletz globin willibutz ma27 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user