nixpkgs/pkgs/development/tools/language-servers/neocmakelsp/default.nix
2023-09-17 21:52:46 +00:00

28 lines
674 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "neocmakelsp";
version = "0.6.5";
src = fetchFromGitHub {
owner = "Decodetalkers";
repo = "neocmakelsp";
rev = "v${version}";
hash = "sha256-VXxxtIJwtRfgQFteifR5zFn6DCSNgJxDYNdt0jM2kG4=";
};
cargoHash = "sha256-FJd0mWpimI/OgG65+OquyAUO2a47gUfE4R5XhhYNJhs=";
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";
};
}