2019-04-22 05:00:00 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-11-07 03:04:21 +00:00
|
|
|
|
2019-04-22 05:00:00 +01:00
|
|
|
buildGoModule rec {
|
2019-03-13 22:49:53 +00:00
|
|
|
pname = "pgmetrics";
|
2019-06-02 13:14:07 +01:00
|
|
|
version = "1.7.0";
|
2018-11-07 03:04:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rapidloop";
|
2019-04-22 05:00:00 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-06-02 13:14:07 +01:00
|
|
|
sha256 = "1zjcchgpmp2a0ir8rzrfjpn4pcjiy4kawh2pbmszmqfzw1mkh762";
|
2018-11-07 03:04:21 +00:00
|
|
|
};
|
|
|
|
|
2019-04-22 05:00:00 +01:00
|
|
|
modSha256 = "0llbx2sgcx95ym2q4l3334rdj3nkgr9z5jyp8406cp3k1ixi7gdb";
|
2018-11-07 03:04:21 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://pgmetrics.io/;
|
|
|
|
description = "Collect and display information and stats from a running PostgreSQL server";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|