2021-03-30 04:00:42 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pgo-client";
|
2022-06-17 05:03:15 +00:00
|
|
|
version = "4.7.5";
|
2021-03-30 04:00:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CrunchyData";
|
|
|
|
repo = "postgres-operator";
|
|
|
|
rev = "v${version}";
|
2022-06-17 05:03:15 +00:00
|
|
|
sha256 = "sha256-1GYpvw3ch03Cx4BReNwLnbgbds4uuSe/cjvbHuRhLOw=";
|
2021-03-30 04:00:42 +00:00
|
|
|
};
|
|
|
|
|
2022-06-17 05:03:15 +00:00
|
|
|
vendorSha256 = "sha256-5/mLlgNdlX/ABrpofPqowCskxFwJAEKVpbsMOvMvTWc=";
|
2021-03-30 04:00:42 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/pgo" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI client for Crunchy PostgreSQL Kubernetes Operator";
|
|
|
|
homepage = "https://github.com/CrunchyData/postgres-operator";
|
|
|
|
changelog = "https://github.com/CrunchyData/postgres-operator/releases/tag/v${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.bryanasdev000 ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "pgo";
|
2021-03-30 04:00:42 +00:00
|
|
|
};
|
|
|
|
}
|