{ lib, fetchFromGitLab, python3, }: python3.pkgs.buildPythonApplication rec { pname = "lavacli"; version = "2.4"; pyproject = true; src = fetchFromGitLab { owner = "lava"; repo = "lavacli"; tag = "v${version}"; hash = "sha256-KNq+UNOC3N+p0HOed2Mdh9EIXLQccH+aepdfJ59Z2oM="; }; build-system = with python3.pkgs; [ setuptools ]; dependencies = with python3.pkgs; [ aiohttp jinja2 requests ruamel-yaml voluptuous ]; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook pyzmq ]; meta = { description = "Command line tool to interact with one or many LAVA instances using XML-RPC"; homepage = "https://lava.gitlab.io/lavacli/"; changelog = "https://gitlab.com/lava/lavacli/-/commits/v${version}?ref_type=tags"; license = lib.licenses.agpl3Only; teams = [ lib.teams.cyberus ]; mainProgram = "lavacli"; }; }