nixpkgs-suyu/pkgs/applications/networking/cluster/pgo-client/default.nix

26 lines
741 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pgo-client";
version = "4.7.0";
src = fetchFromGitHub {
owner = "CrunchyData";
repo = "postgres-operator";
rev = "v${version}";
sha256 = "sha256-WuKLQWq/Zr/eDaUq/HbydHMdtlCWmjM858PLX7hYba4=";
};
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 ];
};
}