mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
27 lines
766 B
Nix
27 lines
766 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "pgo-client";
|
|
version = "4.7.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CrunchyData";
|
|
repo = "postgres-operator";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1GYpvw3ch03Cx4BReNwLnbgbds4uuSe/cjvbHuRhLOw=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|