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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
766 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pgo-client";
2022-09-22 01:48:33 +00:00
version = "4.7.7";
src = fetchFromGitHub {
owner = "CrunchyData";
repo = "postgres-operator";
rev = "v${version}";
2022-09-22 01:48:33 +00:00
sha256 = "sha256-rHWCj25NEKbwV1kmuH6k3oWSXKelknb2GRDgLaZSb3U=";
};
2022-06-17 05:03:15 +00:00
vendorSha256 = "sha256-5/mLlgNdlX/ABrpofPqowCskxFwJAEKVpbsMOvMvTWc=";
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 ];
mainProgram = "pgo";
};
}