python312Packages.greeneye-monitor: add pytest-socket

This commit is contained in:
Fabian Affolter 2024-11-15 09:24:01 +01:00
parent 4dde341229
commit c450c3e936

View File

@ -3,6 +3,7 @@
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-socket,
pytestCheckHook,
pythonOlder,
setuptools,
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "greeneye-monitor";
version = "5.0.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.10";
@ -23,14 +24,17 @@ buildPythonPackage rec {
hash = "sha256-7EDuQ+wECcTzxkEufMpg3WSzosWeiwfxcVIVtQi+0BI=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
aiohttp
siobrultech-protocols
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-socket
pytestCheckHook
];
pythonImportsCheck = [ "greeneye.monitor" ];