diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 6c9c1a861bb4..52bc266f05f2 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3444,22 +3444,7 @@ let }; }; - ms-python.flake8 = buildVscodeMarketplaceExtension { - mktplcRef = { - name = "flake8"; - publisher = "ms-python"; - version = "2023.10.0"; - hash = "sha256-4Vjw8yJPrxLg0hcoTw8AEBEcmQ9sEUNqFaHLxICks0E="; - }; - meta = { - changelog = "https://marketplace.visualstudio.com/items/ms-python.flake8/changelog"; - description = "Python linting support for VS Code using Flake8"; - downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.flake8"; - homepage = "https://github.com/microsoft/vscode-flake8"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.amadejkastelic ]; - }; - }; + ms-python.flake8 = callPackage ./ms-python.flake8 { }; ms-python.isort = callPackage ./ms-python.isort { }; diff --git a/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix b/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix new file mode 100644 index 000000000000..c667d8bd8fae --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix @@ -0,0 +1,22 @@ +{ + lib, + vscode-utils, +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + publisher = "ms-python"; + name = "flake8"; + version = "2025.1.10441012"; + hash = "sha256-Ed5cojxQzH0+j3oW7EnEk4ptsngYwTLz52Pcb3G6bNs="; + }; + + meta = { + changelog = "https://marketplace.visualstudio.com/items/ms-python.flake8/changelog"; + description = "Python linting support for VS Code using Flake8"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.flake8"; + homepage = "https://github.com/microsoft/vscode-flake8"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.amadejkastelic ]; + }; +}