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="; sha256 = "sha256-vWqGxMbxKqd4UgKK0sOKadMTDf6Y3TQxfWsc93MHjFs=";
}; };
meta = with lib; { meta = {
description = '' description = ''
Visual Studio Code plugin for automatic time tracking and metrics generated Visual Studio Code plugin for automatic time tracking and metrics generated
from your programming activity 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} ln -s ${rescript-editor-analysis}/bin ${analysisDir}
''; '';
meta = with lib; { meta = {
description = "The official VSCode plugin for ReScript"; description = "The official VSCode plugin for ReScript";
homepage = "https://github.com/rescript-lang/rescript-vscode"; homepage = "https://github.com/rescript-lang/rescript-vscode";
maintainers = with maintainers; [ dlip jayesh-bhoot ]; maintainers = [ lib.maintainers.dlip lib.maintainers.jayesh-bhoot ];
license = licenses.mit; 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 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"; description = "Analysis binary for the ReScript VSCode plugin";
homepage = "https://github.com/rescript-lang/rescript-vscode"; homepage = "https://github.com/rescript-lang/rescript-vscode";
maintainers = with maintainers; [ dlip jayesh-bhoot ]; maintainers = [ lib.maintainers.dlip lib.maintainers.jayesh-bhoot ];
license = licenses.mit; 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 substituteInPlace out/serverPath.js --replace TERRAFORM-LS-PATH ${terraform-ls}/bin/terraform-ls
''; '';
meta = with lib; { meta = {
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ rhoriguchi ]; 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 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"; description = "A Visual Studio Code extension for supporting Rich PlantUML";
downloadPage = downloadPage =
"https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml"; "https://marketplace.visualstudio.com/items?itemName=jebbs.plantuml";
homepage = "https://github.com/qjebbs/vscode-plantuml"; homepage = "https://github.com/qjebbs/vscode-plantuml";
changelog = changelog =
"https://marketplace.visualstudio.com/items/jebbs.plantuml/changelog"; "https://marketplace.visualstudio.com/items/jebbs.plantuml/changelog";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ victormignot ]; maintainers = [ lib.maintainers.victormignot ];
}; };
} }

View File

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

View File

@ -76,13 +76,13 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
fi fi
''; '';
meta = with lib; { meta = {
description = "A Visual Studio Code extension with rich support for the Python language"; description = "A Visual Studio Code extension with rich support for the Python language";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.python"; downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.python";
homepage = "https://github.com/Microsoft/vscode-python"; homepage = "https://github.com/Microsoft/vscode-python";
changelog = "https://github.com/microsoft/vscode-python/releases"; changelog = "https://github.com/microsoft/vscode-python/releases";
license = licenses.mit; license = lib.licenses.mit;
platforms = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]; 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 jq "$(print_jq_query)" ./package.json | sponge ./package.json
''; '';
meta = with lib; { meta = {
description = "Jupyter extension for vscode"; description = "Jupyter extension for vscode";
homepage = "https://github.com/microsoft/vscode-jupyter"; homepage = "https://github.com/microsoft/vscode-jupyter";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ jraygauthier ]; maintainers = [ lib.maintainers.jraygauthier ];
}; };
} }

View File

@ -87,9 +87,9 @@ buildVscodeMarketplaceExtension {
--replace '# Start the server\n' '${patch}' --replace '# Start the server\n' '${patch}'
''; '';
meta = with lib; { meta = {
description = "Use any remote machine with a SSH server as your development environment."; description = "Use any remote machine with a SSH server as your development environment.";
license = licenses.unfree; license = lib.licenses.unfree;
maintainers = with maintainers; [ SuperSandro2000 tbenst ]; 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 ]} 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."; 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"; homepage = "https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools";
license = licenses.unfree; license = lib.licenses.unfree;
maintainers = with maintainers; [ jraygauthier stargate01 ]; maintainers = [ lib.maintainers.jraygauthier lib.maintainers.stargate01 ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
}; };
} }

View File

@ -44,11 +44,11 @@ in ((vscode-utils.override { stdenv = gccStdenv; }).buildVscodeMarketplaceExtens
--replace "'xsel'" "'${xsel}/bin/xsel'" --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"; 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"; homepage = "https://aka.ms/vsls-docs";
license = licenses.unfree; license = lib.licenses.unfree;
maintainers = with maintainers; [ jraygauthier V ]; maintainers = [ lib.maintainers.jraygauthier lib.maintainers.V ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
}; };
}) })

View File

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

View File

@ -18,10 +18,10 @@ vscode-utils.buildVscodeMarketplaceExtension {
$out/$installPrefix/server/bin/lua-language-server $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."; 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"; homepage = "https://marketplace.visualstudio.com/items?itemName=sumneko.lua";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ lblasc ]; maintainers = [ lib.maintainers.lblasc ];
}; };
} }

View File

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