python3Packages.py-zabbix: init at 1.1.7

This commit is contained in:
Fabian Affolter 2021-11-21 17:17:59 +01:00
parent 293e6f0ce5
commit 3ec513d798
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "py-zabbix";
version = "1.1.7";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "adubkov";
repo = "py-zabbix";
rev = version;
sha256 = "aPQc188pszfDQvNtsGYlRLHS5CG5VyqptSoe4/GJVvE=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pyzabbix"
];
meta = with lib; {
description = "Python module to interact with Zabbix";
homepage = "https://github.com/adubkov/py-zabbix";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6123,6 +6123,8 @@ in {
py-ubjson = callPackage ../development/python-modules/py-ubjson { };
py-zabbix = callPackage ../development/python-modules/py-zabbix { };
py17track = callPackage ../development/python-modules/py17track { };
py2bit = callPackage ../development/python-modules/py2bit { };