vscode-extensions.oliver-ni.scheme-fmt: init at 1.2.1
This commit is contained in:
parent
b5d4ac4f01
commit
18a9971a94
@ -3854,6 +3854,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 ];
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user