at 23.11-beta 38 lines 784 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "zabbix-cli"; 8 version = "2.3.1"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "usit-gd"; 13 repo = "zabbix-cli"; 14 rev = "refs/tags/${version}"; 15 sha256 = "sha256-i4dviSdrHNAn4mSWMn5DOBg4j8BXCfwKVYsDaBd/g6o="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 requests 20 ]; 21 22 nativeCheckInputs = with python3.pkgs; [ 23 pytestCheckHook 24 ]; 25 26 disabledTests = [ 27 # TypeError: option values must be strings 28 "test_descriptor_del" 29 "test_initialize" 30 ]; 31 32 meta = with lib; { 33 description = "Command-line interface for Zabbix"; 34 homepage = "https://github.com/unioslo/zabbix-cli"; 35 license = licenses.gpl3Plus; 36 maintainers = [ ]; 37 }; 38}