python312Packages.zabbix-utils: init at 2.0.2

Library for zabbix

https://github.com/zabbix/python-zabbix-utils
This commit is contained in:
Fabian Affolter
2025-01-01 22:51:10 +01:00
parent 8dc0075947
commit 3fdfa094a1
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "zabbix-utils";
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "zabbix";
repo = "python-zabbix-utils";
rev = "refs/tags/v${version}";
hash = "sha256-rRPen/FzWT0cCnXWiSdoybtXeP1pxYqnjq5b0QPVs1I=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "zabbix_utils" ];
meta = {
description = "Library for zabbix";
homepage = "https://github.com/zabbix/python-zabbix-utils";
changelog = "https://github.com/zabbix/python-zabbix-utils/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -18366,6 +18366,8 @@ self: super: with self; {
pname = "z3-solver";
}))).python;
zabbix-utils = callPackage ../development/python-modules/zabbix-utils { };
zadnegoale = callPackage ../development/python-modules/zadnegoale { };
zamg = callPackage ../development/python-modules/zamg { };