neocmakelsp: 0.8.13 -> 0.8.15 and revert use meson (#371383)

This commit is contained in:
rewine
2025-01-12 00:05:40 +08:00
committed by GitHub
+13 -20
View File
@@ -1,40 +1,33 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
python3,
rustPlatform,
rustc,
cargo,
fetchFromGitHub,
installShellFiles,
}:
stdenv.mkDerivation rec {
rustPlatform.buildRustPackage rec {
pname = "neocmakelsp";
version = "0.8.13";
version = "0.8.15";
src = fetchFromGitHub {
owner = "Decodetalkers";
repo = "neocmakelsp";
rev = "v${version}";
hash = "sha256-MRno86pi389p2lBTu86LCPx5yFN76CbM5AXAs4bsl7c=";
hash = "sha256-TCzW8QPSCGufLQanwcvgA5YsTV/QqDs7NKgOMPOgGho=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit pname version src;
hash = "sha256-UVXJF8jvZUcEWbsL+UmrO2VSlvowkXNGRbxCEmB89OU=";
};
cargoHash = "sha256-oRt4af7KqPIckzZ8FhCNjkVC/j2PdprFL91K/qUWV3g=";
nativeBuildInputs = [
meson
ninja
python3
rustPlatform.cargoSetupHook
rustc
cargo
installShellFiles
];
postInstall = ''
installShellCompletion --bash completions/bash/neocmakelsp
installShellCompletion --fish completions/fish/neocmakelsp.fish
installShellCompletion --zsh completions/zsh/_neocmakelsp
'';
meta = {
description = "CMake lsp based on tower-lsp and treesitter";
homepage = "https://github.com/Decodetalkers/neocmakelsp";