Loading pkgs/development/python-modules/textual/default.nix +12 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, jinja2, Loading @@ -10,7 +11,6 @@ pytest-xdist, pytestCheckHook, pythonAtLeast, pythonOlder, rich, syrupy, time-machine, Loading @@ -24,8 +24,6 @@ buildPythonPackage rec { version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Textualize"; repo = "textual"; Loading Loading @@ -61,9 +59,14 @@ buildPythonPackage rec { tree-sitter ]; disabledTestPaths = [ disabledTestPaths = [ # Snapshot tests require syrupy<4 "tests/snapshot_tests/test_snapshots.py" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # RuntimeError: There is no current event loop in thread 'MainThread'. "tests/test_focus.py" ]; disabledTests = Loading Loading @@ -93,11 +96,11 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; meta = with lib; { meta = { description = "TUI framework for Python inspired by modern web development"; homepage = "https://github.com/Textualize/textual"; changelog = "https://github.com/Textualize/textual/releases/tag/v${version}"; license = licenses.mit; license = lib.licenses.mit; maintainers = [ ]; }; } Loading
pkgs/development/python-modules/textual/default.nix +12 −9 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, jinja2, Loading @@ -10,7 +11,6 @@ pytest-xdist, pytestCheckHook, pythonAtLeast, pythonOlder, rich, syrupy, time-machine, Loading @@ -24,8 +24,6 @@ buildPythonPackage rec { version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Textualize"; repo = "textual"; Loading Loading @@ -61,9 +59,14 @@ buildPythonPackage rec { tree-sitter ]; disabledTestPaths = [ disabledTestPaths = [ # Snapshot tests require syrupy<4 "tests/snapshot_tests/test_snapshots.py" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # RuntimeError: There is no current event loop in thread 'MainThread'. "tests/test_focus.py" ]; disabledTests = Loading Loading @@ -93,11 +96,11 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; meta = with lib; { meta = { description = "TUI framework for Python inspired by modern web development"; homepage = "https://github.com/Textualize/textual"; changelog = "https://github.com/Textualize/textual/releases/tag/v${version}"; license = licenses.mit; license = lib.licenses.mit; maintainers = [ ]; }; }