9 rescript-editor-analysis = callPackage ./rescript-editor-analysis.nix { inherit version; };
11 if stdenv.hostPlatform.isLinux then
13 else if stdenv.hostPlatform.isDarwin then
16 throw "Unsupported system: ${stdenv.system}";
17 analysisDir = "server/analysis_binaries/${arch}";
19 vscode-utils.buildVscodeMarketplaceExtension rec {
21 name = "rescript-vscode";
22 publisher = "chenglou92";
24 hash = "sha256-1jdjSxho7TRADAxs4ccLw7Ea430f+L5aBlLDlUwvXHk=";
28 ln -s ${rescript-editor-analysis}/bin ${analysisDir}
32 description = "Official VSCode plugin for ReScript";
33 homepage = "https://github.com/rescript-lang/rescript-vscode";
36 lib.maintainers.jayesh-bhoot
38 license = lib.licenses.mit;