cmake-language-server: init at 0.1.1

This commit is contained in:
MetaDark 2020-05-27 19:21:24 -04:00 committed by Jon
parent f3ee91d47e
commit ec905d07fa
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, buildPythonApplication, fetchFromGitHub
, poetry, pygls, pyparsing
, cmake, pytest, pytest-datadir
}:
buildPythonApplication rec {
pname = "cmake-language-server";
version = "0.1.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "regen100";
repo = pname;
rev = "v${version}";
sha256 = "09rijjksx07inbwxjinrsqihkxb011l2glysasmwpkhy0rmmhbcm";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ pygls pyparsing ];
checkInputs = [ cmake pytest pytest-datadir ];
dontUseCmakeConfigure = true;
checkPhase = "pytest";
meta = with stdenv.lib; {
homepage = "https://github.com/regen100/cmake-language-server";
description = "CMake LSP Implementation";
license = licenses.mit;
maintainers = with maintainers; [ metadark ];
};
}

View file

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