vscode-extensions.timonwong.shellcheck: move to a directory
This commit is contained in:
parent
3e4358290c
commit
354e22ca6b
@ -11,7 +11,6 @@
|
||||
, llvmPackages_14
|
||||
, protobuf
|
||||
, jq
|
||||
, shellcheck
|
||||
, moreutils
|
||||
, autoPatchelfHook
|
||||
, zlib
|
||||
@ -4035,26 +4034,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
timonwong.shellcheck = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "shellcheck";
|
||||
publisher = "timonwong";
|
||||
version = "0.37.0";
|
||||
sha256 = "1d0blynn6c2hz4y9fk7b5wsa3x168gxyycr5d05zqp0rx520m5wc";
|
||||
};
|
||||
nativeBuildInputs = [ jq moreutils ];
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
jq '.contributes.configuration.properties."shellcheck.executablePath".default = "${shellcheck}/bin/shellcheck"' package.json | sponge package.json
|
||||
'';
|
||||
meta = {
|
||||
description = "Integrates ShellCheck into VS Code, a linter for Shell scripts";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=timonwong.shellcheck";
|
||||
homepage = "https://github.com/vscode-shellcheck/vscode-shellcheck";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.raroh73 ];
|
||||
};
|
||||
};
|
||||
timonwong.shellcheck = callPackage ./timonwong.shellcheck { };
|
||||
|
||||
tobiasalthoff.atom-material-theme = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
|
@ -0,0 +1,31 @@
|
||||
{
|
||||
jq,
|
||||
lib,
|
||||
moreutils,
|
||||
shellcheck,
|
||||
vscode-utils,
|
||||
}:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "shellcheck";
|
||||
publisher = "timonwong";
|
||||
version = "0.37.0";
|
||||
sha256 = "1d0blynn6c2hz4y9fk7b5wsa3x168gxyycr5d05zqp0rx520m5wc";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
moreutils
|
||||
];
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
jq '.contributes.configuration.properties."shellcheck.executablePath".default = "${shellcheck}/bin/shellcheck"' package.json | sponge package.json
|
||||
'';
|
||||
meta = {
|
||||
description = "Integrates ShellCheck into VS Code, a linter for Shell scripts";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=timonwong.shellcheck";
|
||||
homepage = "https://github.com/vscode-shellcheck/vscode-shellcheck";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.raroh73 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user