mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python3Packages.py-zabbix: init at 1.1.7
This commit is contained in:
parent
293e6f0ce5
commit
3ec513d798
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user