3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/zabbix-cli/default.nix
Martin Weinelt 27d75c2730
zabbix-cli: use python3, enable tests, remove maintainer
The maintainer hasn't interacted with this package since it was
introduced in 2017.
2022-01-02 13:38:11 +01:00

39 lines
764 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "zabbix-cli";
version = "2.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "usit-gd";
repo = "zabbix-cli";
rev = version;
sha256 = "0wzmrn8p09ksqhhgawr179c4az7p2liqr0l4q2dra62bxliawyqz";
};
propagatedBuildInputs = with python3.pkgs; [
requests
];
checkInputs = with python3.pkgs; [
pytestCheckHook
];
disabledTests = [
# TypeError: option values must be strings
"test_descriptor_del"
"test_initialize"
];
meta = with lib; {
description = "Command-line interface for Zabbix";
homepage = "https://github.com/unioslo/zabbix-cli";
license = licenses.gpl3Plus;
maintainers = [ ];
};
}