Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 vscode-utils, 4 jq, 5 chez, 6 moreutils, 7}: 8 9vscode-utils.buildVscodeMarketplaceExtension { 10 mktplcRef = { 11 publisher = "release-candidate"; 12 name = "vscode-scheme-repl"; 13 version = "0.7.4"; 14 hash = "sha256-Pfy0aJXq8I53o5mG4dfzyqsyLQX0bs+phBgN46yU/Yw="; 15 }; 16 17 postInstall = '' 18 cd "$out/$installPrefix" 19 ${lib.getExe jq} '.contributes.configuration.properties."chezScheme.schemePath" = "${lib.getExe' chez "scheme"}"' package.json | ${lib.getExe' moreutils "sponge"} package.json 20 ''; 21 22 meta = { 23 description = "Uses REPL for autocompletions and to evaluate expressions"; 24 downloadPage = "https://marketplace.visualstudio.com/items?itemName=release-candidate.vscode-scheme-repl"; 25 homepage = "https://github.com/Release-Candidate/vscode-scheme-repl"; 26 license = lib.licenses.mit; 27 maintainers = with lib.maintainers; [ tuynia ]; 28 }; 29}