blob: db05ee6b363ab8c6b97a7492094e5959e3aa9a4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "kubectl-cnpg";
version = "1.22.2";
src = fetchFromGitHub {
owner = "cloudnative-pg";
repo = "cloudnative-pg";
rev = "v${version}";
hash = "sha256-xR61PYUqiVtPTghEEeSWXs/Apx7VVWDgi6Pgx/EBQzQ=";
};
vendorHash = "sha256-u5ou9rY/JBrV0EF/nJX8u/Fqde/WZe21EcsNLwvtqB0=";
subPackages = [ "cmd/kubectl-cnpg" ];
meta = with lib; {
homepage = "https://cloudnative-pg.io/";
description = "Plugin for kubectl to manage a CloudNativePG cluster in Kubernetes";
mainProgram = "kubectl-cnpg";
license = licenses.asl20;
maintainers = with maintainers; [ devusb ];
};
}
|