vscode-extensions.kddejong.vscode-cfn-lint: init at 0.21.0

This commit is contained in:
P. R. d. O 2022-03-06 13:14:53 -06:00
parent 7075835950
commit 5e2074dddb
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7

View File

@ -5,6 +5,7 @@
, vscode-utils
, asciidoctor
, nodePackages
, python3Packages
, jdk
, llvmPackages_8
, nixpkgs-fmt
@ -1300,6 +1301,33 @@ let
};
};
kddejong.vscode-cfn-lint = let
inherit (python3Packages) cfn-lint;
in buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-cfn-lint";
publisher = "kddejong";
version = "0.21.0";
sha256 = "sha256-IueXiN+077tiecAsVCzgYksWYTs00mZv6XJVMtRJ/PQ=";
};
nativeBuildInputs = [ jq moreutils ];
buildInputs = [ cfn-lint ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."cfnLint.path".default = "${cfn-lint}/bin/cfn-lint"' package.json | sponge package.json
'';
meta = with lib; {
description = "CloudFormation Linter IDE integration, autocompletion, and documentation";
homepage = "https://github.com/aws-cloudformation/cfn-lint-visual-studio-code";
license = lib.licenses.asl20;
maintainers = with maintainers; [ wolfangaukang ];
};
};
kubukoz.nickel-syntax = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "nickel-syntax";