diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index a0b59e0362a9..bc0ba9f75535 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3513,21 +3513,7 @@ let ms-python.python = callPackage ./ms-python.python { }; - ms-python.debugpy = buildVscodeMarketplaceExtension { - mktplcRef = { - name = "debugpy"; - publisher = "ms-python"; - version = "2024.6.0"; - hash = "sha256-VlPe65ViBur5P6L7iRKdGnmbNlSCwYrdZAezStx8Bz8="; - }; - meta = { - description = "Python debugger (debugpy) extension for VS Code"; - downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy"; - homepage = "https://github.com/Microsoft/vscode-python-debugger"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.carlthome ]; - }; - }; + ms-python.debugpy = callPackage ./ms-python.debugpy { }; ms-python.vscode-pylance = callPackage ./ms-python.vscode-pylance { }; diff --git a/pkgs/applications/editors/vscode/extensions/ms-python.debugpy/default.nix b/pkgs/applications/editors/vscode/extensions/ms-python.debugpy/default.nix new file mode 100644 index 000000000000..a6b60a7e8663 --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/ms-python.debugpy/default.nix @@ -0,0 +1,21 @@ +{ + lib, + vscode-utils, +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + name = "debugpy"; + publisher = "ms-python"; + version = "2024.6.0"; + hash = "sha256-VlPe65ViBur5P6L7iRKdGnmbNlSCwYrdZAezStx8Bz8="; + }; + + meta = { + description = "Python debugger (debugpy) extension for VS Code"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy"; + homepage = "https://github.com/Microsoft/vscode-python-debugger"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.carlthome ]; + }; +}