vscode-extensions.valentjn.vscode-ltex: init at 13.0.0 (#145001)

Co-authored-by: be7a <git@be7a.de>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Bela Stoyan 2021-11-10 10:10:47 +01:00 committed by GitHub
parent ae46c29140
commit bcea841e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ config
, lib
, buildEnv
, fetchurl
, callPackage
, vscode-utils
, asciidoctor
@ -1609,6 +1610,34 @@ let
vadimcn.vscode-lldb = callPackage ./vscode-lldb { };
valentjn.vscode-ltex = vscode-utils.buildVscodeMarketplaceExtension rec {
mktplcRef = {
name = "vscode-ltex";
publisher = "valentjn";
version = "13.0.0";
};
vsix = fetchurl {
name = "${mktplcRef.publisher}-${mktplcRef.name}.zip";
url = "https://github.com/valentjn/vscode-ltex/releases/download/${mktplcRef.version}/vscode-ltex-${mktplcRef.version}-offline-linux-x64.vsix";
sha256 = "6db4846dee4e394f7bcfb7e29520d45d6bc1534482ba73cf40cd5edf3f6ec266";
};
nativeBuildInputs = [ jq moreutils ];
buildInputs = [ jdk ];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."ltex.java.path".default = "${jdk}"' package.json | sponge package.json
'';
meta = with lib; {
license = licenses.mpl20;
maintainers = [ maintainers._0xbe7a ];
};
};
viktorqvarfordt.vscode-pitch-black-theme = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-pitch-black-theme";