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

23 lines
597 B
Nix
Raw Normal View History

2019-04-22 04:00:00 +00:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2018-11-07 03:04:21 +00:00
2019-04-22 04:00:00 +00:00
buildGoModule rec {
2019-03-13 22:49:53 +00:00
pname = "pgmetrics";
version = "1.7.1";
2018-11-07 03:04:21 +00:00
src = fetchFromGitHub {
owner = "rapidloop";
2019-04-22 04:00:00 +00:00
repo = pname;
rev = "v${version}";
sha256 = "17rr6rjdxg8gdljf65zkn3bl1kmnlp2gkhiq7slxslh8n9iz4wjs";
2018-11-07 03:04:21 +00:00
};
2019-04-22 04:00:00 +00: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 ];
};
}