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-06-17 05:03:15 +00:00
version = "4.7.5";
src = fetchFromGitHub {
owner = "CrunchyData";
repo = "postgres-operator";
rev = "v${version}";
2022-06-17 05:03:15 +00:00
sha256 = "sha256-1GYpvw3ch03Cx4BReNwLnbgbds4uuSe/cjvbHuRhLOw=";
};
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";
};
}