diff --git a/pkgs/by-name/ya/yaookctl/package.nix b/pkgs/by-name/ya/yaookctl/package.nix new file mode 100644 index 000000000000..5b888664d7b0 --- /dev/null +++ b/pkgs/by-name/ya/yaookctl/package.nix @@ -0,0 +1,43 @@ +{ + lib, + fetchFromGitLab, + python3, + nix-update-script, +}: +python3.pkgs.buildPythonApplication { + pname = "yaookctl"; + version = "0-unstable-2025-08-25"; + + src = fetchFromGitLab { + owner = "yaook"; + repo = "yaookctl"; + rev = "205fab35f6680d15d86ef3596fe8a12590e3916c"; + hash = "sha256-V30581TeBtk/IvqBebsyT2lJ8bp8UkCH4AIy+mnnzCc="; + }; + + pyproject = true; + build-system = [ python3.pkgs.setuptools ]; + + dontCheckRuntimeDeps = true; + + dependencies = with python3.pkgs; [ + babel + click + click-option-group + kubernetes-asyncio + prettytable + typing-extensions + ]; + + passthru.updateScript = nix-update-script { + extraArgs = [ "--version=branch" ]; + }; + + meta = { + homepage = "https://gitlab.com/yaook/yaookctl"; + description = "Toolbox for interacting with Yaook clusters"; + license = lib.licenses.mit; + mainProgram = "yaookctl"; + maintainers = with lib.maintainers; [ lykos153 ]; + }; +}