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

22 lines
597 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2018-10-27 14:39:49 +02:00
2019-06-11 22:00:48 +02:00
buildGoModule rec {
2019-03-13 23:48:57 +01:00
pname = "pgcenter";
2019-10-05 05:05:39 +02:00
version = "0.6.4";
2018-10-27 14:39:49 +02:00
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
2019-10-05 05:05:39 +02:00
sha256 = "0p8ck4s5jj53nc638darhwbylcsslfmfz72bwy6wxby9iqi9kq6b";
2018-10-27 14:39:49 +02:00
};
vendorSha256 = "1mzvpr12qh9668iz97p62zl4zhlrcyfgwr4a9zg9irj585pkb5x2";
2018-10-27 14:39:49 +02:00
meta = with stdenv.lib; {
homepage = "https://pgcenter.org/";
2018-10-27 14:39:49 +02:00
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}