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

25 lines
618 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
2018-10-27 12:39:49 +00:00
2019-06-11 20:00:48 +00:00
buildGoModule rec {
2019-03-13 22:48:57 +00:00
pname = "pgcenter";
2020-05-19 21:52:07 +00:00
version = "0.6.5";
2018-10-27 12:39:49 +00:00
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
2020-05-19 21:52:07 +00:00
sha256 = "03n1gn944z6rz5g643y68hvfxpxp65mip32w1zx43xr60x1vpf2v";
2018-10-27 12:39:49 +00:00
};
vendorSha256 = "1mzvpr12qh9668iz97p62zl4zhlrcyfgwr4a9zg9irj585pkb5x2";
2018-10-27 12:39:49 +00:00
doCheck = false;
2018-10-27 12:39:49 +00:00
meta = with stdenv.lib; {
homepage = "https://pgcenter.org/";
2018-10-27 12:39:49 +00:00
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}