2021-03-30 06:00:42 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pgo-client";
|
2021-05-23 11:00:16 +02:00
|
|
|
version = "4.7.0";
|
2021-03-30 06:00:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CrunchyData";
|
|
|
|
repo = "postgres-operator";
|
|
|
|
rev = "v${version}";
|
2021-05-23 11:00:16 +02:00
|
|
|
sha256 = "sha256-WuKLQWq/Zr/eDaUq/HbydHMdtlCWmjM858PLX7hYba4=";
|
2021-03-30 06:00:42 +02:00
|
|
|
};
|
|
|
|
|
2021-05-23 11:00:16 +02:00
|
|
|
vendorSha256 = "sha256-m8b6Lh6it67A6cppdBDX4X0u7Kde4GQz9wln/TrHVwI=";
|
2021-03-30 06:00:42 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|