1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00

cmake-language-server: build with pygls 0.9.x

This commit is contained in:
MetaDark 2020-07-05 12:10:03 -04:00 committed by Jon
parent 63e6866ce6
commit 832a240b12
2 changed files with 8 additions and 1 deletions

View file

@ -15,6 +15,11 @@ buildPythonApplication rec {
sha256 = "0vz7bjxkk0phjhz3h9kj6yr7wnk3g7lqmkqraa0kw12mzcfck837";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pygls = "^0.8.1"' 'pygls = "^0.9.0"'
'';
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ pygls pyparsing ];

View file

@ -10330,7 +10330,9 @@ in
cmake-format = python3Packages.callPackage ../development/tools/cmake-format { };
cmake-language-server = python3Packages.callPackage ../development/tools/cmake-language-server { };
cmake-language-server = python3Packages.callPackage ../development/tools/cmake-language-server {
inherit (pkgs) cmake;
};
# Does not actually depend on Qt 5
inherit (kdeFrameworks) extra-cmake-modules kapidox kdoctools;