mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
39 lines
784 B
Nix
39 lines
784 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "zabbix-cli";
|
|
version = "2.3.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "usit-gd";
|
|
repo = "zabbix-cli";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "sha256-i4dviSdrHNAn4mSWMn5DOBg4j8BXCfwKVYsDaBd/g6o=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
requests
|
|
];
|
|
|
|
nativeCheckInputs = 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 = [ ];
|
|
};
|
|
}
|