kubectl-rabbitmq: init at 2.20.0

This commit is contained in:
nat
2026-04-06 12:01:22 +02:00
parent 083ac46760
commit 6ea37ef49f
@@ -0,0 +1,39 @@
{
buildGoModule,
fetchFromGitHub,
lib,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "kubectl-rabbitmq";
version = "2.20.0";
src = fetchFromGitHub {
owner = "rabbitmq";
repo = "cluster-operator";
tag = "v${finalAttrs.version}";
hash = "sha256-anJZy0XUEJ0j912g7+ltq2bMVE/KPpyBWuh7AqGgx30=";
};
modRoot = "kubectl-rabbitmq";
vendorHash = "sha256-UnZ47TUarqZNYrvpfNJy5tm9Yq5/eFrkMSLRqjqM9PU=";
ldflags = [
"-s"
"-w"
"-X main.pluginVersion=${finalAttrs.version}"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "RabbitMQ Cluster Operator Plugin for kubectl";
homepage = "https://github.com/rabbitmq/cluster-operator";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ surfaceflinger ];
mainProgram = "kubectl-rabbitmq";
platforms = lib.platforms.all;
};
})