vscode-extensions.ms-python.black-formatter: move extension in its own directory, bump

This commit is contained in:
Pol Dellaiera
2025-02-17 11:56:19 +01:00
parent f958cc05fb
commit a1ec3f3902
2 changed files with 26 additions and 19 deletions
@@ -3424,25 +3424,7 @@ let
ms-pyright.pyright = callPackage ./ms-pyright.pyright { };
ms-python.black-formatter = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "black-formatter";
publisher = "ms-python";
version = "2024.2.0";
hash = "sha256-qIO+YqTXjwgznzUlnPSts1R2BM6iN8B9vESkelGPgZM=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/ms-python.black-formatter/changelog";
description = "Formatter extension for Visual Studio Code using black";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter";
homepage = "https://github.com/microsoft/vscode-black-formatter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
amadejkastelic
sikmir
];
};
};
ms-python.black-formatter = callPackage ./ms-python.black-formatter { };
ms-python.flake8 = callPackage ./ms-python.flake8 { };
@@ -0,0 +1,25 @@
{
lib,
vscode-utils,
}:
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "ms-python";
name = "black-formatter";
version = "2024.6.0";
hash = "sha256-Waw+WhazNqVoihC/K/tPFH4tCeYYVOFDBfg+AWvs3q4=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/ms-python.black-formatter/changelog";
description = "Formatter extension for Visual Studio Code using black";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter";
homepage = "https://github.com/microsoft/vscode-black-formatter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
amadejkastelic
sikmir
];
};
}