12 crystal.buildCrystalPackage {
13 pname = "crystalline";
16 src = fetchFromGitHub {
20 hash = "sha256-9CXWw7Jye5XZzPdzz+Dnvyy7Wk1ENM0an8vOFrPbESA=";
24 shardsFile = ./shards.nix;
26 nativeBuildInputs = [ llvmPackages.llvm openssl makeWrapper ];
29 doInstallCheck = false;
31 crystalBinaries.crystalline = {
32 src = "src/crystalline.cr";
33 options = [ "--release" "--no-debug" "--progress" "-Dpreview_mt" ];
37 wrapProgram "$out/bin/crystalline" --prefix PATH : '${
38 lib.makeBinPath [llvmPackages.llvm.dev]
43 description = "A Language Server Protocol implementation for Crystal";
44 mainProgram = "crystalline";
45 homepage = "https://github.com/elbywan/crystalline";
46 license = licenses.mit;
47 maintainers = with maintainers; [ donovanglover ];