nixpkgs/pkgs/applications/networking/cluster/kubectl-cnpg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
646 B
Nix
Raw Normal View History

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";
license = licenses.asl20;
maintainers = with maintainers; [ devusb ];
};
}