2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
2018-10-27 13:39:49 +01:00
|
|
|
|
2019-06-11 21:00:48 +01:00
|
|
|
buildGoModule rec {
|
2019-03-13 22:48:57 +00:00
|
|
|
pname = "pgcenter";
|
2020-11-11 20:19:58 +00:00
|
|
|
version = "0.6.6";
|
2018-10-27 13:39:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lesovsky";
|
|
|
|
repo = "pgcenter";
|
|
|
|
rev = "v${version}";
|
2020-11-11 20:19:58 +00:00
|
|
|
sha256 = "1axwsclssxsg38ppdmd4v1lbs87ksrwj5z76ckjk8jjfni1xp9sr";
|
2018-10-27 13:39:49 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "1mzvpr12qh9668iz97p62zl4zhlrcyfgwr4a9zg9irj585pkb5x2";
|
2018-10-27 13:39:49 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pgcenter.org/";
|
2018-10-27 13:39:49 +01:00
|
|
|
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|