python312Packages.textual-dev: disable tests

Tests require a running textual WS server
This commit is contained in:
Fabian Affolter 2024-06-16 09:55:03 +02:00
parent 317340ce68
commit 6ce9e91371

View File

@ -6,11 +6,8 @@
fetchFromGitHub,
msgpack,
poetry-core,
pytest-aiohttp,
pytestCheckHook,
pythonOlder,
textual,
time-machine,
typing-extensions,
}:
@ -28,9 +25,9 @@ buildPythonPackage rec {
hash = "sha256-QnMKVt1WxnwGnZFNb7Gbus7xewGvyG5xJ0hIKKK5hug=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
click
msgpack
@ -38,19 +35,17 @@ buildPythonPackage rec {
typing-extensions
];
nativeCheckInputs = [
pytest-aiohttp
pytestCheckHook
time-machine
];
# Tests require a running textual WS server
doCheck = false;
pythonImportsCheck = [ "textual_dev" ];
meta = with lib; {
description = "Development tools for Textual";
mainProgram = "textual";
homepage = "https://github.com/Textualize/textual-dev";
changelog = "https://github.com/Textualize/textual-dev/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ yannip ];
mainProgram = "textual";
};
}