2023-07-02 21:54:35 +02:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubectl-cnpg";
|
2024-03-15 02:05:41 +01:00
|
|
|
version = "1.22.2";
|
2023-07-02 21:54:35 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cloudnative-pg";
|
|
|
|
repo = "cloudnative-pg";
|
|
|
|
rev = "v${version}";
|
2024-03-15 02:05:41 +01:00
|
|
|
hash = "sha256-xR61PYUqiVtPTghEEeSWXs/Apx7VVWDgi6Pgx/EBQzQ=";
|
2023-07-02 21:54:35 +02:00
|
|
|
};
|
|
|
|
|
2024-03-15 02:05:41 +01:00
|
|
|
vendorHash = "sha256-u5ou9rY/JBrV0EF/nJX8u/Fqde/WZe21EcsNLwvtqB0=";
|
2023-07-02 21:54:35 +02:00
|
|
|
|
|
|
|
subPackages = [ "cmd/kubectl-cnpg" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://cloudnative-pg.io/";
|
|
|
|
description = "Plugin for kubectl to manage a CloudNativePG cluster in Kubernetes";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "kubectl-cnpg";
|
2023-07-02 21:54:35 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ devusb ];
|
|
|
|
};
|
|
|
|
}
|