Loading pkgs/development/python-modules/pymodbus/default.nix +31 −34 Original line number Diff line number Diff line { lib , aiohttp , buildPythonPackage , click , fetchFromGitHub , prompt-toolkit , pygments , pyserial , pytest-asyncio , pytest-xdist , pytestCheckHook , pythonOlder , redis , setuptools , sqlalchemy , twisted , typer { lib, aiohttp, buildPythonPackage, click, fetchFromGitHub, prompt-toolkit, pygments, pyserial, pytest-asyncio, pytest-xdist, pytestCheckHook, pythonOlder, redis, setuptools, sqlalchemy, twisted, typer, }: buildPythonPackage rec { Loading @@ -36,9 +37,7 @@ buildPythonPackage rec { --replace-fail "--cov-report html " "" ''; build-system = [ setuptools ]; build-system = [ setuptools ]; passthru.optional-dependencies = { repl = [ Loading @@ -48,9 +47,7 @@ buildPythonPackage rec { pygments click ] ++ typer.optional-dependencies.all; serial = [ pyserial ]; serial = [ pyserial ]; }; nativeCheckInputs = [ Loading @@ -70,14 +67,14 @@ buildPythonPackage rec { popd ''; pythonImportsCheck = [ "pymodbus" ]; pythonImportsCheck = [ "pymodbus" ]; disabledTests = [ disabledTests = [ # Tests often hang "test_connected" ] ++ lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [ ] ++ lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [ "test_split_serial_packet" "test_serial_poll" "test_simulator" Loading Loading
pkgs/development/python-modules/pymodbus/default.nix +31 −34 Original line number Diff line number Diff line { lib , aiohttp , buildPythonPackage , click , fetchFromGitHub , prompt-toolkit , pygments , pyserial , pytest-asyncio , pytest-xdist , pytestCheckHook , pythonOlder , redis , setuptools , sqlalchemy , twisted , typer { lib, aiohttp, buildPythonPackage, click, fetchFromGitHub, prompt-toolkit, pygments, pyserial, pytest-asyncio, pytest-xdist, pytestCheckHook, pythonOlder, redis, setuptools, sqlalchemy, twisted, typer, }: buildPythonPackage rec { Loading @@ -36,9 +37,7 @@ buildPythonPackage rec { --replace-fail "--cov-report html " "" ''; build-system = [ setuptools ]; build-system = [ setuptools ]; passthru.optional-dependencies = { repl = [ Loading @@ -48,9 +47,7 @@ buildPythonPackage rec { pygments click ] ++ typer.optional-dependencies.all; serial = [ pyserial ]; serial = [ pyserial ]; }; nativeCheckInputs = [ Loading @@ -70,14 +67,14 @@ buildPythonPackage rec { popd ''; pythonImportsCheck = [ "pymodbus" ]; pythonImportsCheck = [ "pymodbus" ]; disabledTests = [ disabledTests = [ # Tests often hang "test_connected" ] ++ lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [ ] ++ lib.optionals (lib.versionAtLeast aiohttp.version "3.9.0") [ "test_split_serial_packet" "test_serial_poll" "test_simulator" Loading