Loading pkgs/development/python-modules/pytest-aio/default.nix +12 −10 Original line number Diff line number Diff line Loading @@ -2,16 +2,16 @@ lib, anyio, buildPythonPackage, curio, curio-compat, fetchFromGitHub, hypothesis, pytest, pytestCheckHook, pythonOlder, poetry-core, sniffio, trio, trio-asyncio, uvloop, }: buildPythonPackage rec { Loading @@ -19,7 +19,7 @@ buildPythonPackage rec { version = "1.9.0"; pyproject = true; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "klen"; Loading @@ -32,16 +32,18 @@ buildPythonPackage rec { buildInputs = [ pytest ]; dependencies = [ optional-dependencies = { curio = [ curio-compat ]; trio = [ trio ]; uvloop = [ uvloop ]; }; nativeCheckInputs = [ anyio curio hypothesis sniffio trio pytestCheckHook trio-asyncio ]; nativeCheckInputs = [ pytestCheckHook ]; ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "pytest_aio" ]; Loading Loading
pkgs/development/python-modules/pytest-aio/default.nix +12 −10 Original line number Diff line number Diff line Loading @@ -2,16 +2,16 @@ lib, anyio, buildPythonPackage, curio, curio-compat, fetchFromGitHub, hypothesis, pytest, pytestCheckHook, pythonOlder, poetry-core, sniffio, trio, trio-asyncio, uvloop, }: buildPythonPackage rec { Loading @@ -19,7 +19,7 @@ buildPythonPackage rec { version = "1.9.0"; pyproject = true; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "klen"; Loading @@ -32,16 +32,18 @@ buildPythonPackage rec { buildInputs = [ pytest ]; dependencies = [ optional-dependencies = { curio = [ curio-compat ]; trio = [ trio ]; uvloop = [ uvloop ]; }; nativeCheckInputs = [ anyio curio hypothesis sniffio trio pytestCheckHook trio-asyncio ]; nativeCheckInputs = [ pytestCheckHook ]; ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "pytest_aio" ]; Loading