vscode-extensions.foxundermoon.shell-format: move to a directory
This commit is contained in:
parent
e62a408834
commit
6badd9fe84
|
@ -14,7 +14,6 @@
|
||||||
, jq
|
, jq
|
||||||
, shellcheck
|
, shellcheck
|
||||||
, moreutils
|
, moreutils
|
||||||
, shfmt
|
|
||||||
, typst-lsp
|
, typst-lsp
|
||||||
, typst-preview
|
, typst-preview
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
|
@ -1687,28 +1686,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
foxundermoon.shell-format = buildVscodeMarketplaceExtension {
|
foxundermoon.shell-format = callPackage ./foxundermoon.shell-format { };
|
||||||
mktplcRef = {
|
|
||||||
name = "shell-format";
|
|
||||||
publisher = "foxundermoon";
|
|
||||||
version = "7.2.5";
|
|
||||||
hash = "sha256-kfpRByJDcGY3W9+ELBzDOUMl06D/vyPlN//wPgQhByk=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ jq moreutils ];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
cd "$out/$installPrefix"
|
|
||||||
jq '.contributes.configuration.properties."shellformat.path".default = "${shfmt}/bin/shfmt"' package.json | sponge package.json
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format";
|
|
||||||
homepage = "https://github.com/foxundermoon/vs-shell-format";
|
|
||||||
license = lib.licenses.mit;
|
|
||||||
maintainers = [ lib.maintainers.dbirks ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
freebroccolo.reasonml = buildVscodeMarketplaceExtension {
|
freebroccolo.reasonml = buildVscodeMarketplaceExtension {
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
jq,
|
||||||
|
lib,
|
||||||
|
moreutils,
|
||||||
|
shfmt,
|
||||||
|
vscode-utils,
|
||||||
|
}:
|
||||||
|
|
||||||
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "shell-format";
|
||||||
|
publisher = "foxundermoon";
|
||||||
|
version = "7.2.5";
|
||||||
|
hash = "sha256-kfpRByJDcGY3W9+ELBzDOUMl06D/vyPlN//wPgQhByk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
jq
|
||||||
|
moreutils
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
cd "$out/$installPrefix"
|
||||||
|
jq '.contributes.configuration.properties."shellformat.path".default = "${shfmt}/bin/shfmt"' package.json | sponge package.json
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format";
|
||||||
|
homepage = "https://github.com/foxundermoon/vs-shell-format";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = [ lib.maintainers.dbirks ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user