cmake-language-server: init at 0.1.1
This commit is contained in:
parent
f3ee91d47e
commit
ec905d07fa
31
pkgs/development/tools/cmake-language-server/default.nix
Normal file
31
pkgs/development/tools/cmake-language-server/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -10228,6 +10228,8 @@ in
|
|||||||
|
|
||||||
cmake-format = python3Packages.callPackage ../development/tools/cmake-format { };
|
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
|
# Does not actually depend on Qt 5
|
||||||
inherit (kdeFrameworks) extra-cmake-modules kapidox kdoctools;
|
inherit (kdeFrameworks) extra-cmake-modules kapidox kdoctools;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user