Loading pkgs/development/python-modules/nexusrpc/default.nix +15 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,9 @@ hatchling, nix-update-script, typing-extensions, pyright, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { Loading @@ -20,6 +23,12 @@ buildPythonPackage rec { fetchSubmodules = true; }; postPatch = '' # Patch out uv and run tests directly substituteInPlace tests/test_type_errors.py \ --replace-fail '["uv", "run", "pyright",' '["pyright",' ''; build-system = [ hatchling ]; Loading @@ -28,6 +37,12 @@ buildPythonPackage rec { typing-extensions ]; nativeCheckInputs = [ pyright pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "nexusrpc" ]; Loading Loading
pkgs/development/python-modules/nexusrpc/default.nix +15 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,9 @@ hatchling, nix-update-script, typing-extensions, pyright, pytest-asyncio, pytestCheckHook, }: buildPythonPackage rec { Loading @@ -20,6 +23,12 @@ buildPythonPackage rec { fetchSubmodules = true; }; postPatch = '' # Patch out uv and run tests directly substituteInPlace tests/test_type_errors.py \ --replace-fail '["uv", "run", "pyright",' '["pyright",' ''; build-system = [ hatchling ]; Loading @@ -28,6 +37,12 @@ buildPythonPackage rec { typing-extensions ]; nativeCheckInputs = [ pyright pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "nexusrpc" ]; Loading