Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
833 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
vscode-utils,
jq,
chez,
moreutils,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "release-candidate";
name = "vscode-scheme-repl";
version = "0.7.4";
hash = "sha256-Pfy0aJXq8I53o5mG4dfzyqsyLQX0bs+phBgN46yU/Yw=";
};
postInstall = ''
cd "$out/$installPrefix"
${lib.getExe jq} '.contributes.configuration.properties."chezScheme.schemePath" = "${lib.getExe' chez "scheme"}"' package.json | ${lib.getExe' moreutils "sponge"} package.json
'';
meta = {
description = "Uses REPL for autocompletions and to evaluate expressions";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=release-candidate.vscode-scheme-repl";
homepage = "https://github.com/Release-Candidate/vscode-scheme-repl";
license = lib.licenses.mit;
};
}