@@ -0,0 +1,26 @@
1+{ lib, buildGoModule, fetchFromGitHub }:
2+
3+buildGoModule rec {
4+ pname = "pgo-client";
5+ version = "4.6.2";
6+
7+ src = fetchFromGitHub {
8+ owner = "CrunchyData";
9+ repo = "postgres-operator";
10+ rev = "v${version}";
11+ sha256 = "sha256-zPFsLKbuVq2wMjFsqjBGiatPBwGR/X6q3mj8o5BE+r0=";
12+ };
13+
14+ vendorSha256 = "sha256-DU1kc7YDQ+denj6tHVGt79s494aBFZ2KM7PVSn951KI=";
15+
16+ subPackages = [ "cmd/pgo" ];
17+
18+ meta = with lib; {
19+ description = "A CLI client for Crunchy PostgreSQL Kubernetes Operator";
20+ homepage = "https://github.com/CrunchyData/postgres-operator";
21+ changelog = "https://github.com/CrunchyData/postgres-operator/releases/tag/v${version}";
22+ license = licenses.asl20;
23+ maintainers = [ maintainers.bryanasdev000 ];
24+ platforms = platforms.linux;
25+ };
26+}