1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-V1FToLhBzeZd3ve+eKAHniHN6oveEg0FBHnkSZPxBqo=";
15 lockFile = ./Cargo.lock;
17 "chain-map-0.1.0" = "sha256-nds+lPGCbxw3GqrgfmTbKnPkiV3F6f5A2xr82qV33iI=";
18 "sml-libs-0.1.0" = "sha256-zQrhH24XlA9SeQ+sVzaVwJwrm80TRIjFq99Vay7QEN8=";
26 cargoBuildFlags = [ "--package" "millet-ls" ];
28 cargoTestFlags = [ "--package" "millet-ls" ];
31 description = "Language server for Standard ML";
32 homepage = "https://github.com/azdavis/millet";
33 changelog = "https://github.com/azdavis/millet/blob/v${version}/docs/CHANGELOG.md";
34 license = [ licenses.mit /* or */ licenses.asl20 ];
36 mainProgram = "millet-ls";