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

23 lines
597 B
Nix
Raw Normal View History

2019-04-22 06:00:00 +02:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2018-11-07 04:04:21 +01:00
2019-04-22 06:00:00 +02:00
buildGoModule rec {
2019-03-13 23:49:53 +01:00
pname = "pgmetrics";
version = "1.7.0";
2018-11-07 04:04:21 +01:00
src = fetchFromGitHub {
owner = "rapidloop";
2019-04-22 06:00:00 +02:00
repo = pname;
rev = "v${version}";
sha256 = "1zjcchgpmp2a0ir8rzrfjpn4pcjiy4kawh2pbmszmqfzw1mkh762";
2018-11-07 04:04:21 +01:00
};
2019-04-22 06:00:00 +02:00
modSha256 = "0llbx2sgcx95ym2q4l3334rdj3nkgr9z5jyp8406cp3k1ixi7gdb";
2018-11-07 04:04:21 +01: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 ];
};
}