From 217d1f4de52b96fdc28e6b48c4559ec7d19c9d75 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 8 Feb 2025 12:00:28 +0100 Subject: [PATCH 1/3] vscode-extensions.github.copilot: 1.251.0 -> 1.266.1363 --- pkgs/applications/editors/vscode/extensions/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 771be7809f06..a3af0288b47d 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2117,8 +2117,9 @@ let mktplcRef = { publisher = "github"; name = "copilot"; - version = "1.251.0"; # compatible with vscode ^1.96 - hash = "sha256-nv6lTPTPcggwMgO8a4KAF0W7gpou1399f/axnH0sS4s="; + # Verify which version is available with nix run nixpkgs#vsce -- show github.copilot --json + version = "1.266.1363"; # compatible with vscode ^1.96 + hash = "sha256-paT/fZMIjSh7Bp4bBg4ZT/c1wVc0ecQLJxulSQZjRdg="; }; meta = { From d9151c8ae1b87cc3766dcd2ca467f86bc7993e8b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 8 Feb 2025 12:02:48 +0100 Subject: [PATCH 2/3] vscode-extensions.github.copilot-chat: 0.24.2024121201 -> 0.24.2025020602 --- pkgs/applications/editors/vscode/extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index a3af0288b47d..25f5c087ecc5 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2136,8 +2136,8 @@ let publisher = "github"; name = "copilot-chat"; # Verify which version is available with nix run nixpkgs#vsce -- show github.copilot-chat --json - version = "0.24.2024121201"; # compatible with vscode ^1.96 - hash = "sha256-v3wdodDzYalz927KqqpL4IqEqLRmx1CLWdGBvZgNmpE="; + version = "0.24.2025020602"; # latest compatible with vscode ^1.97 + hash = "sha256-smeBJ+yEIdbBs1eiKlPFCpYrb/nAkpnGlT9pTNnCnBI="; }; meta = { description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features"; From 04670cfe227af20dd57537ea57722c0aca38a82b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 8 Feb 2025 12:06:48 +0100 Subject: [PATCH 3/3] vscode-extensions.ms-python.mypy-type-checker: init at 2025.1.10381011 --- .../editors/vscode/extensions/default.nix | 2 ++ .../ms-python.mypy-type-checker/default.nix | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/editors/vscode/extensions/ms-python.mypy-type-checker/default.nix diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 25f5c087ecc5..4ca91ebe85bf 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3507,6 +3507,8 @@ let }; }; + ms-python.mypy-type-checker = callPackage ./ms-python.mypy-type-checker { }; + ms-python.python = callPackage ./ms-python.python { }; ms-python.debugpy = buildVscodeMarketplaceExtension { diff --git a/pkgs/applications/editors/vscode/extensions/ms-python.mypy-type-checker/default.nix b/pkgs/applications/editors/vscode/extensions/ms-python.mypy-type-checker/default.nix new file mode 100644 index 000000000000..6119ebca6c6e --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/ms-python.mypy-type-checker/default.nix @@ -0,0 +1,36 @@ +{ + lib, + vscode-utils, + mypy, + jq, + moreutils, +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + name = "mypy-type-checker"; + publisher = "ms-python"; + version = "2025.1.10381011"; + hash = "sha256-boKUxLOAgQJP13zX/NMhg1MtcrPVQJt5gLbxI7gVSu4="; + }; + + buildInputs = [ mypy ]; + + nativeBuildInputs = [ + jq + moreutils + ]; + + postInstall = '' + jq '.contributes.configuration.properties."mypy-type-checker.path".default = "${lib.getExe mypy}"' $out/$installPrefix/package.json | sponge $out/$installPrefix/package.json + ''; + + meta = { + changelog = "https://github.com/microsoft/vscode-mypy/releases"; + description = "VSCode extension for type checking support for Python files using Mypy"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-python.mypy-type-checker"; + homepage = "https://github.com/microsoft/vscode-mypy"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + }; +}