mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 00:14:43 +00:00
d42eb3c619
Update platforms and make sure it builds on darwin/nixos
28 lines
712 B
Nix
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";
|
|
};
|
|
}
|