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

23 lines
593 B
Nix
Raw Normal View History

2019-06-11 20:00:48 +00:00
{ 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";
2019-06-11 20:00:48 +00:00
version = "0.6.2";
2018-10-27 12:39:49 +00:00
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
2019-06-11 20:00:48 +00:00
sha256 = "0mh0s83gkjhrm9ip5r1bb6y5n0nl1rlh99570yv7p3yvyhmh2292";
2018-10-27 12:39:49 +00:00
};
2019-06-11 20:00:48 +00:00
modSha256 = "0kassq52v07zmffs6l066g0d3kfv6wmrh9g5cgk79bmyq13clqjj";
2018-10-27 12:39:49 +00:00
meta = with stdenv.lib; {
homepage = https://pgcenter.org/;
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}