nixpkgs/pkgs/tools/misc/zabbix-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
798 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
}:
2017-05-26 13:08:32 +00:00
python3.pkgs.buildPythonApplication rec {
pname = "zabbix-cli";
2024-01-20 00:21:10 +00:00
version = "2.3.2";
format = "setuptools";
2017-05-26 13:08:32 +00:00
src = fetchFromGitHub {
owner = "usit-gd";
repo = "zabbix-cli";
2022-11-20 15:14:56 +00:00
rev = "refs/tags/${version}";
2024-01-20 00:21:10 +00:00
sha256 = "sha256-B5t/vxCmPdRR9YKOc2htI57Kmk1ZrpwPUln4JoUrK6g=";
2017-05-26 13:08:32 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
2024-02-04 22:02:44 +00:00
packaging
requests
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
disabledTests = [
# TypeError: option values must be strings
"test_descriptor_del"
"test_initialize"
];
2017-05-26 13:08:32 +00:00
meta = with lib; {
description = "Command-line interface for Zabbix";
homepage = "https://github.com/unioslo/zabbix-cli";
license = licenses.gpl3Plus;
maintainers = [ ];
2017-05-26 13:08:32 +00:00
};
}