44 lines
947 B
Nix
44 lines
947 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
fetchFromGitLab,
|
||
|
|
python3,
|
||
|
|
nix-update-script,
|
||
|
|
}:
|
||
|
|
python3.pkgs.buildPythonApplication {
|
||
|
|
pname = "yaookctl";
|
||
|
|
version = "0-unstable-2025-09-25";
|
||
|
|
|
||
|
|
src = fetchFromGitLab {
|
||
|
|
owner = "yaook";
|
||
|
|
repo = "yaookctl";
|
||
|
|
rev = "255dc7db8d532937be5b49f326ffcb346507b1e7";
|
||
|
|
hash = "sha256-Hf+vmH4FrSMlNhYWeImn7//7Lt9k3nJoHT9LJwma3Yw=";
|
||
|
|
};
|
||
|
|
|
||
|
|
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 ];
|
||
|
|
};
|
||
|
|
}
|