blob: af1e8c3df0f35c757bc183a7b79166422ce17863 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
lib,
jq,
moreutils,
millet,
vscode-utils,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "Millet";
publisher = "azdavis";
version = "0.13.5";
hash = "sha256-sWM7N+axgu1zOGWexR4JVupVmYhZrd4cZz3pmLxRj8Q=";
};
nativeBuildInputs = [
jq
moreutils
];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."millet.server.path".default = "${millet}/bin/millet-ls"' package.json | sponge package.json
'';
meta = {
description = "Standard ML support for VS Code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=azdavis.millet";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.smasher164 ];
};
}
|