2025-03-08 19:31:15 +00:00

33 lines
782 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
}:
rustPlatform.buildRustPackage rec {
pname = "kittycad-kcl-lsp";
version = "0.1.71";
src = fetchFromGitHub {
owner = "KittyCAD";
repo = "kcl-lsp";
tag = "v${version}";
hash = "sha256-IQfR2B9HyZXEDKcp5J7466SRbq2qWS+eodtTKkgJprM=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-OlAy/WqoLRwkk1x4dOXE8MzBzeLyofQDVv81aR/sIMQ=";
nativeBuildInputs = [ pkg-config ];
meta = {
description = "KittyCAD KCL language server";
changelog = "https://github.com/KittyCAD/kcl-lsp/releases/tag/v${version}";
homepage = "https://github.com/KittyCAD/kcl-lsp";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jljox ];
mainProgram = "kittycad-kcl-lsp";
};
}