nixpkgs/pkgs/development/tools/language-servers/neocmakelsp/default.nix
2024-05-08 00:44:01 +00:00

28 lines
675 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "neocmakelsp";
version = "0.6.24";
src = fetchFromGitHub {
owner = "Decodetalkers";
repo = "neocmakelsp";
rev = "v${version}";
hash = "sha256-Zpaw0LCdluU76epHrRDQJw1cVptjR5IH8Ufy8yLVECo=";
};
cargoHash = "sha256-Z3MdJdgR1oVPwTcq8rihHUXGkP38Ve/C+48NooeAWlo=";
meta = with lib; {
description = "A cmake lsp based on tower-lsp and treesitter";
homepage = "https://github.com/Decodetalkers/neocmakelsp";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
mainProgram = "neocmakelsp";
};
}