mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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:
parent
ae46c29140
commit
bcea841e10
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user