forked from mirrors/nixpkgs
23 lines
597 B
Nix
23 lines
597 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pgmetrics";
|
|
version = "1.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rapidloop";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "06yqv6a6p7h10rkp95ssifzqp2h2j0vlm57hliyi94jxd8srgwh5";
|
|
};
|
|
|
|
modSha256 = "0llbx2sgcx95ym2q4l3334rdj3nkgr9z5jyp8406cp3k1ixi7gdb";
|
|
|
|
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 ];
|
|
};
|
|
}
|