mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
26 lines
741 B
Nix
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 ];
|
|
};
|
|
}
|