vscode-extensions: remove 'with' and normalize lib usage

* Remove 'with'.
  Reasoning: 451dfa6d84

* Normalize lib usage in vscode-extensions.
This commit is contained in:
superherointj 2023-03-18 16:40:30 -03:00
parent e5005453d3
commit 9ec72407a4
15 changed files with 344 additions and 343 deletions

View File

@ -12,11 +12,11 @@ in
sha256 = "sha256-vWqGxMbxKqd4UgKK0sOKadMTDf6Y3TQxfWsc93MHjFs=";
};
meta = with lib; {
meta = {
description = ''
Visual Studio Code plugin for automatic time tracking and metrics generated
from your programming activity
'';
license = licenses.bsd3;
license = lib.licenses.bsd3;
};
}

View File

@ -20,10 +20,10 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
ln -s ${rescript-editor-analysis}/bin ${analysisDir}
'';
meta = with lib; {
meta = {
description = "The official VSCode plugin for ReScript";
homepage = "https://github.com/rescript-lang/rescript-vscode";
maintainers = with maintainers; [ dlip jayesh-bhoot ];
license = licenses.mit;
maintainers = [ lib.maintainers.dlip lib.maintainers.jayesh-bhoot ];
license = lib.licenses.mit;
};
}

View File

@ -25,10 +25,10 @@ stdenv.mkDerivation {
install -D -m0555 rescript-editor-analysis.exe $out/bin/rescript-editor-analysis.exe
'';
meta = with lib; {
meta = {
description = "Analysis binary for the ReScript VSCode plugin";
homepage = "https://github.com/rescript-lang/rescript-vscode";
maintainers = with maintainers; [ dlip jayesh-bhoot ];
license = licenses.mit;
maintainers = [ lib.maintainers.dlip lib.maintainers.jayesh-bhoot ];
license = lib.licenses.mit;
};
}

File diff suppressed because it is too large Load Diff

View File

@ -13,8 +13,8 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
substituteInPlace out/serverPath.js --replace TERRAFORM-LS-PATH ${terraform-ls}/bin/terraform-ls
'';
meta = with lib; {
license = licenses.mit;
maintainers = with maintainers; [ rhoriguchi ];
meta = {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.rhoriguchi ];
};
}

View File

@ -13,15 +13,15 @@ vscode-utils.buildVscodeMarketplaceExtension {
jq '.contributes.configuration.properties."plantuml.java".default = "${plantuml}/bin/plantuml"' package.json | sponge package.json
'';
meta = with lib; {
meta = {
description = "A Visual Studio Code extension for supporting Rich PlantUML";
downloadPage =
"https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml";
homepage = "https://github.com/qjebbs/vscode-plantuml";
changelog =
"https://marketplace.visualstudio.com/items/jebbs.plantuml/changelog";
license = licenses.mit;
maintainers = with maintainers; [ victormignot ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.victormignot ];
};
}

View File

@ -121,11 +121,11 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
'')
vsixInfo.binaries));
meta = with lib; {
meta = {
description = "C# for Visual Studio Code (powered by OmniSharp)";
homepage = "https://github.com/OmniSharp/omnisharp-vscode";
license = licenses.mit;
maintainers = [ maintainers.jraygauthier ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jraygauthier ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
};
}

View File

@ -76,13 +76,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
fi
'';
meta = with lib; {
meta = {
description = "A Visual Studio Code extension with rich support for the Python language";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.python";
homepage = "https://github.com/Microsoft/vscode-python";
changelog = "https://github.com/microsoft/vscode-python/releases";
license = licenses.mit;
license = lib.licenses.mit;
platforms = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
maintainers = with maintainers; [ jraygauthier jfchevrette ];
maintainers = [ lib.maintainers.jraygauthier lib.maintainers.jfchevrette ];
};
}

View File

@ -30,10 +30,10 @@ vscode-utils.buildVscodeMarketplaceExtension {
jq "$(print_jq_query)" ./package.json | sponge ./package.json
'';
meta = with lib; {
meta = {
description = "Jupyter extension for vscode";
homepage = "https://github.com/microsoft/vscode-jupyter";
license = licenses.mit;
maintainers = with maintainers; [ jraygauthier ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jraygauthier ];
};
}

View File

@ -87,9 +87,9 @@ buildVscodeMarketplaceExtension {
--replace '# Start the server\n' '${patch}'
'';
meta = with lib; {
meta = {
description = "Use any remote machine with a SSH server as your development environment.";
license = licenses.unfree;
maintainers = with maintainers; [ SuperSandro2000 tbenst ];
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.SuperSandro2000 lib.maintainers.tbenst ];
};
}

View File

@ -80,11 +80,11 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
wrapProgram $out/share/vscode/extensions/ms-vscode.cpptools/debugAdapters/bin/OpenDebugAD7 --prefix PATH : ${lib.makeBinPath [ gdb ]}
'';
meta = with lib; {
meta = {
description = "The C/C++ extension adds language support for C/C++ to Visual Studio Code, including features such as IntelliSense and debugging.";
homepage = "https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools";
license = licenses.unfree;
maintainers = with maintainers; [ jraygauthier stargate01 ];
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.jraygauthier lib.maintainers.stargate01 ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -44,11 +44,11 @@ in ((vscode-utils.override { stdenv = gccStdenv; }).buildVscodeMarketplaceExtens
--replace "'xsel'" "'${xsel}/bin/xsel'"
'';
meta = with lib; {
meta = {
description = "Live Share lets you achieve greater confidence at speed by streamlining collaborative editing, debugging, and more in real-time during development";
homepage = "https://aka.ms/vsls-docs";
license = licenses.unfree;
maintainers = with maintainers; [ jraygauthier V ];
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.jraygauthier lib.maintainers.V ];
platforms = [ "x86_64-linux" ];
};
})

View File

@ -80,11 +80,11 @@ vscode-utils.buildVscodeExtension {
package.json | sponge package.json
'';
meta = with lib; {
meta = {
description = "An alternative rust language server to the RLS";
homepage = "https://github.com/rust-lang/rust-analyzer";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ ];
platforms = platforms.all;
license = [ lib.licenses.mit lib.licenses.asl20 ];
maintainers = [ ];
platforms = lib.platforms.all;
};
}

View File

@ -18,10 +18,10 @@ vscode-utils.buildVscodeMarketplaceExtension {
$out/$installPrefix/server/bin/lua-language-server
'';
meta = with lib; {
meta = {
description = "The Lua language server provides various language features for Lua to make development easier and faster.";
homepage = "https://marketplace.visualstudio.com/items?itemName=sumneko.lua";
license = licenses.mit;
maintainers = with maintainers; [ lblasc ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.lblasc ];
};
}

View File

@ -103,11 +103,11 @@ in stdenv.mkDerivation {
updateScript = ./update.sh;
};
meta = with lib; {
meta = {
description = "A native debugger extension for VSCode based on LLDB";
homepage = "https://github.com/vadimcn/vscode-lldb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ nigelgbanks ];
platforms = platforms.all;
license = [ lib.licenses.mit ];
maintainers = [ lib.maintainers.nigelgbanks ];
platforms = lib.platforms.all;
};
}