1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Merge pull request #146886 from fabaff/py-zabbix

python3Packages.py-zabbix: init at 1.1.7
This commit is contained in:
Fabian Affolter 2021-11-22 09:44:52 +01:00 committed by GitHub
commit ebc27a10a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 1 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

@ -999,7 +999,7 @@
"yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
"yi" = ps: with ps; [ aioftp ha-ffmpeg ];
"youless" = ps: with ps; [ youless-api ];
"zabbix" = ps: with ps; [ ]; # missing inputs: py-zabbix
"zabbix" = ps: with ps; [ py-zabbix ];
"zamg" = ps: with ps; [ ];
"zengge" = ps: with ps; [ ]; # missing inputs: zengge
"zeroconf" = ps: with ps; [ aiohttp-cors ifaddr zeroconf ];

View file

@ -6153,6 +6153,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 { };