blob: a6cc3ecaea6d54bd357f58047d0130686b76c0c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "zabbix-utils";
version = "2.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "zabbix";
repo = "python-zabbix-utils";
tag = "v${version}";
hash = "sha256-/9OTehMGELU70Y3ZU1ZB4/ODkI3UbfIXNQ7H/vTz6JE=";
};
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.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|