9 python3Packages.buildPythonApplication rec {
14 src = fetchFromGitHub {
18 hash = "sha256-hvLtc6owEOD29Y1oC7EmOOFp9P8hWOuj9N7qhtqkpks=";
21 pythonRelaxDeps = [ "click-repl" ];
23 build-system = with python3Packages; [
32 httpx.optional-dependencies.socks
44 ++ lib.optionals (pythonOlder "3.10") [
48 nativeCheckInputs = with python3Packages; [
54 # Otherwise tests will fail to create directory
55 # Permission denied: '/homeless-shelter'
57 export HOME=$(mktemp -d)
60 pythonImportsCheck = [ "zabbix_cli" ];
62 passthru.tests.version = testers.testVersion {
64 command = "HOME=$(mktemp -d) zabbix-cli --version";
68 description = "Command-line interface for Zabbix";
69 homepage = "https://github.com/unioslo/zabbix-cli";
70 license = licenses.gpl3Plus;
71 mainProgram = "zabbix-cli";
72 maintainers = [ maintainers.anthonyroussel ];