cmake-language-server: fix build using latest pygls version

+16
+3
pkgs/development/tools/misc/cmake-language-server/default.nix
··· 24 patches = [ 25 # Test timeouts occasionally cause the build to fail 26 ./disable-test-timeouts.patch 27 ]; 28 29 postPatch = ''
··· 24 patches = [ 25 # Test timeouts occasionally cause the build to fail 26 ./disable-test-timeouts.patch 27 + 28 + # cmake-language-server depends on pygls 0.11, but still works with 0.12 29 + ./use-latest-pygls.patch 30 ]; 31 32 postPatch = ''
+13
pkgs/development/tools/misc/cmake-language-server/use-latest-pygls.patch
···
··· 1 + diff --git a/pyproject.toml b/pyproject.toml 2 + index bc6251d..39d6686 100644 3 + --- a/pyproject.toml 4 + +++ b/pyproject.toml 5 + @@ -19,7 +19,7 @@ classifiers = [ 6 + 7 + [tool.poetry.dependencies] 8 + python = "^3.6" 9 + -pygls = "^0.11" 10 + +pygls = "^0.12" 11 + pyparsing = "^2.4" 12 + importlib-metadata = {version = "^4.8", python = "<3.8"} 13 +