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:
commit
ebc27a10a0
36
pkgs/development/python-modules/py-zabbix/default.nix
Normal file
36
pkgs/development/python-modules/py-zabbix/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue