kubexporter: init at 0.6.3; maintainers: add bakito (#384179)

This commit is contained in:
Gaétan Lepage
2025-03-01 11:18:39 +01:00
committed by GitHub
2 changed files with 48 additions and 0 deletions
+6
View File
@@ -2547,6 +2547,12 @@
github = "Baitinq";
githubId = 30861839;
};
bakito = {
email = "github@bakito.ch";
name = "Marc Brugger";
github = "bakito";
githubId = 2733215;
};
baksa = {
email = "baksa@pm.me";
name = "Kryštof Baksa";
+42
View File
@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
buildGoModule rec {
pname = "kubexporter";
version = "0.6.3";
src = fetchFromGitHub {
owner = "bakito";
repo = "kubexporter";
tag = "v${version}";
hash = "sha256-9TtoACuX6dEcoWX246a5PofEIksB5KnxzRjdk/HV/Ww=";
};
vendorHash = "sha256-SWStAW5XkZGM57ZoxrVdxM7vtmZpSPkByrhFREHqfW0=";
ldflags = [
"-s"
"-w"
"-X github.com/bakito/kubexporter/version.Version=${version}"
];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool for exporting Kubernetes resources as YAML or JSON files";
homepage = "https://github.com/bakito/kubexporter";
changelog = "https://github.com/bakito/kubexporter/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bakito ];
mainProgram = "kubexporter";
};
}