nixpkgs/pkgs/tools/misc/pgmetrics/default.nix

23 lines
597 B
Nix
Raw Normal View History

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";
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}";
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 ];
};
}