2021-03-30 05:00:42 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pgo-client";
|
2021-12-15 14:32:32 +00:00
|
|
|
version = "4.7.4";
|
2021-03-30 05:00:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CrunchyData";
|
|
|
|
repo = "postgres-operator";
|
|
|
|
rev = "v${version}";
|
2021-12-15 14:32:32 +00:00
|
|
|
sha256 = "sha256-8L3eFMATCGIM6xxUM7mi/D3njHMFk7cgPLJotilAS5k=";
|
2021-03-30 05:00:42 +01:00
|
|
|
};
|
|
|
|
|
2021-12-15 14:32:32 +00:00
|
|
|
vendorSha256 = "sha256-4Vz7Lioj6iLU7dbz/B2BSAgfaCl2MyC8MM9yiyWLi2o=";
|
2021-03-30 05:00:42 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|