nixpkgs/pkgs/applications/networking/cluster/pgo-client/default.nix
2021-08-22 10:37:17 +00:00

26 lines
741 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pgo-client";
version = "4.7.2";
src = fetchFromGitHub {
owner = "CrunchyData";
repo = "postgres-operator";
rev = "v${version}";
sha256 = "sha256-SUv5896Ao+EQEM3Mb//rTDVXJgbK/cOGKBeazF/USfQ=";
};
vendorSha256 = "sha256-m8b6Lh6it67A6cppdBDX4X0u7Kde4GQz9wln/TrHVwI=";
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 ];
};
}