nixpkgs/pkgs/development/tools/language-servers/neocmakelsp/default.nix
multivac61 d42eb3c619
neocmakelsp: support aarch64-darwin
Update platforms and make sure it builds on darwin/nixos
2024-07-24 11:32:16 +05:30

28 lines
712 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "neocmakelsp";
version = "0.7.9";
src = fetchFromGitHub {
owner = "Decodetalkers";
repo = "neocmakelsp";
rev = "v${version}";
hash = "sha256-vxdXW74XRZONmLURGEHnyg4Z71uvD6/JzxVqkNqyxdo=";
};
cargoHash = "sha256-otEpfykVTJ0DH9n3kO4G/BO2VD6RGp9N6/UX6UAs2jU=";
meta = with lib; {
description = "Cmake lsp based on tower-lsp and treesitter";
homepage = "https://github.com/Decodetalkers/neocmakelsp";
license = licenses.mit;
platforms = platforms.linux ++ [ "x86_64-darwin" "aarch64-darwin" ];
maintainers = with maintainers; [ rewine ];
mainProgram = "neocmakelsp";
};
}