vscode-extensions.oliver-ni.scheme-fmt: init at 1.2.1 (#426872)

This commit is contained in:
Pol Dellaiera
2025-07-26 10:26:06 +02:00
committed by GitHub
2 changed files with 31 additions and 0 deletions
@@ -3766,6 +3766,8 @@ let
};
};
oliver-ni.scheme-fmt = callPackage ./oliver-ni.scheme-fmt { };
oops418.nix-env-picker = callPackage ./oops418.nix-env-picker { };
ph-hawkins.arc-plus = callPackage ./ph-hawkins.arc-plus { };
@@ -0,0 +1,29 @@
{
lib,
vscode-utils,
jq,
python3,
moreutils,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "oliver-ni";
name = "scheme-fmt";
version = "1.2.1";
hash = "sha256-oTXy0Vjd0s7ZYZzr36ILQOJm4BW9Qd7y8fGbnhkaD1Y=";
};
postInstall = ''
cd "$out/$installPrefix"
${lib.getExe jq} '.contributes.configuration.properties."scheme-fmt.pythonPath".default = "${lib.getExe python3}"' package.json | ${lib.getExe' moreutils "sponge"} package.json
'';
meta = {
description = "Formats Scheme source code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=oliver-ni.scheme-fmt";
homepage = "https://github.com/oliver-ni/scheme-fmt";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ tuynia ];
};
}