1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 hatchling, 6 pygls, 7 pytestCheckHook, 8 pytest-asyncio, 9}: 10 11buildPythonPackage rec { 12 pname = "pytest-lsp"; 13 version = "0.4.3"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit version; 18 pname = "pytest_lsp"; 19 hash = "sha256-ND9r2i+qMg7V/Ld8lCDScDzlZdHRRP6CfjGYp9wpkRw="; 20 }; 21 22 build-system = [ 23 hatchling 24 ]; 25 26 dependencies = [ 27 pygls 28 pytest-asyncio 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 ]; 34 35 pythonImportsCheck = [ "pytest_lsp" ]; 36 37 meta = { 38 homepage = "https://github.com/swyddfa/lsp-devtools"; 39 changelog = "https://github.com/swyddfa/lsp-devtools/blob/develop/lib/pytest-lsp/CHANGES.md"; 40 description = "Pytest plugin for writing end-to-end tests for language servers"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ 43 clemjvdm 44 fliegendewurst 45 ]; 46 }; 47}