2020-03-27 00:33:21 -07:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-10-27 05:39:49 -07:00
|
|
|
|
2019-06-11 13:00:48 -07:00
|
|
|
buildGoModule rec {
|
2019-03-13 15:48:57 -07:00
|
|
|
pname = "pgcenter";
|
2019-10-04 20:05:39 -07:00
|
|
|
version = "0.6.4";
|
2018-10-27 05:39:49 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lesovsky";
|
|
|
|
repo = "pgcenter";
|
|
|
|
rev = "v${version}";
|
2019-10-04 20:05:39 -07:00
|
|
|
sha256 = "0p8ck4s5jj53nc638darhwbylcsslfmfz72bwy6wxby9iqi9kq6b";
|
2018-10-27 05:39:49 -07:00
|
|
|
};
|
|
|
|
|
2019-06-11 13:00:48 -07:00
|
|
|
modSha256 = "0kassq52v07zmffs6l066g0d3kfv6wmrh9g5cgk79bmyq13clqjj";
|
2018-10-27 05:39:49 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://pgcenter.org/";
|
2018-10-27 05:39:49 -07:00
|
|
|
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|