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

25 lines
599 B
Nix
Raw Normal View History

2018-10-27 13:39:49 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2019-03-13 22:48:57 +00:00
pname = "pgcenter";
version = "0.6.1";
2018-10-27 13:39:49 +01:00
goPackagePath = "github.com/lesovsky/pgcenter";
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
2019-03-13 22:48:57 +00:00
sha256 = "12wyi6vc3i0dq76mrvv5r632ks90xppcra5g7rjf54vg4291kycy";
2018-10-27 13:39:49 +01:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://pgcenter.org/;
description = "Command-line admin tool for observing and troubleshooting PostgreSQL";
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
};
}