forked from mirrors/nixpkgs
26 lines
741 B
Nix
26 lines
741 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pgo-client";
|
|
version = "4.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CrunchyData";
|
|
repo = "postgres-operator";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-nIflJLHhzEMq4RZUHjZYvBW+cxsi/gc9ZnMoGCesbrc=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|