mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #163050 from WolfangAukang/cloudformation-linter
This commit is contained in:
commit
6cc306ec23
@ -5,6 +5,7 @@
|
||||
, vscode-utils
|
||||
, asciidoctor
|
||||
, nodePackages
|
||||
, python3Packages
|
||||
, jdk
|
||||
, llvmPackages_8
|
||||
, nixpkgs-fmt
|
||||
@ -1313,6 +1314,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";
|
||||
|
Loading…
Reference in New Issue
Block a user