3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #113086 from r-ryantm/auto-update/pgcenter

pgcenter: 0.6.6 -> 0.7.0
This commit is contained in:
Mario Rodas 2021-02-14 12:50:42 -05:00 committed by GitHub
commit 91bc930fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,24 @@
buildGoModule rec {
pname = "pgcenter";
version = "0.6.6";
version = "0.7.0";
src = fetchFromGitHub {
owner = "lesovsky";
repo = "pgcenter";
rev = "v${version}";
sha256 = "1axwsclssxsg38ppdmd4v1lbs87ksrwj5z76ckjk8jjfni1xp9sr";
sha256 = "sha256-W/UUc0qwOvLSXYWepkCydst113BqR9EsZK0Es+6HSt8=";
};
vendorSha256 = "1mzvpr12qh9668iz97p62zl4zhlrcyfgwr4a9zg9irj585pkb5x2";
vendorSha256 = "sha256-9hYiyZ34atmSL7JvuXyiGU7HR4E6qN7bGZlyU+hP+FU=";
subPackages = [ "cmd" ];
buildFlagsArray = [ "-ldflags=-w -s -X main.gitTag=${src.rev} -X main.gitCommit=${src.rev} -X main.gitBranch=master" ];
postInstall = ''
mv $out/bin/cmd $out/bin/pgcenter
'';
doCheck = false;