nixpkgs/pkgs/tools/misc/pgcenter/default.nix
2018-11-25 19:19:44 -05:00

25 lines
609 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "pgcenter-${version}";
version = "0.5.0";
goPackagePath = "github.com/lesovsky/pgcenter";
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
sha256 = "1bbpzli8hh5356gink6byk085zyfwxi8wigdy5cbadppx4qnk078";
};
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 ];
};
}