From 2b48e069ad11a0087423340f3c791c2fd4929961 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 15 May 2025 22:30:39 +0200 Subject: [PATCH 1/4] vscode-extensions.github.copilot: move in its own directory --- .../editors/vscode/extensions/default.nix | 18 +--------------- .../extensions/github.copilot/default.nix | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 17 deletions(-) create mode 100644 pkgs/applications/editors/vscode/extensions/github.copilot/default.nix diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 7d6f5df0634f..1aba25914f51 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2077,23 +2077,7 @@ let }; }; - github.copilot = buildVscodeMarketplaceExtension { - mktplcRef = { - publisher = "github"; - name = "copilot"; - # Verify which version is available with nix run nixpkgs#vsce -- show github.copilot --json - version = "1.317.0"; - hash = "sha256-w8HH1ibkOrpuKi3Yhzr+DjVIY7HWZ2L4rYzNYrHkfbc="; - }; - - meta = { - description = "GitHub Copilot uses OpenAI Codex to suggest code and entire functions in real-time right from your editor"; - downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.copilot"; - homepage = "https://github.com/features/copilot"; - license = lib.licenses.unfree; - maintainers = [ lib.maintainers.Zimmi48 ]; - }; - }; + github.copilot = callPackage ./github.copilot { }; github.copilot-chat = buildVscodeMarketplaceExtension { mktplcRef = { diff --git a/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix b/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix new file mode 100644 index 000000000000..9c295d753fc3 --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix @@ -0,0 +1,21 @@ +{ + lib, + vscode-utils, +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + publisher = "github"; + name = "copilot"; + version = "1.317.0"; + hash = "sha256-w8HH1ibkOrpuKi3Yhzr+DjVIY7HWZ2L4rYzNYrHkfbc="; + }; + + meta = { + description = "GitHub Copilot uses OpenAI Codex to suggest code and entire functions in real-time right from your editor"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.copilot"; + homepage = "https://github.com/features/copilot"; + license = lib.licenses.unfree; + maintainers = [ lib.maintainers.Zimmi48 ]; + }; +} From 949b98d0bf57b4d4ce42a151c7fd7a5230bcd607 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 16 May 2025 10:17:39 +0200 Subject: [PATCH 2/4] vscode-extensions.github.copilot-chat: move into its own directory --- .../editors/vscode/extensions/default.nix | 17 +-------------- .../github.copilot-chat/default.nix | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 1aba25914f51..11cb298708ec 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -2079,22 +2079,7 @@ let github.copilot = callPackage ./github.copilot { }; - github.copilot-chat = buildVscodeMarketplaceExtension { - mktplcRef = { - publisher = "github"; - name = "copilot-chat"; - # Verify which version is available with nix run nixpkgs#vsce -- show github.copilot-chat --json - version = "0.26.7"; # latest compatible with vscode ^1.98 - hash = "sha256-aR6AGU/boDmYef0GWna5sUsyv9KYGCkugWpFIusDMNE="; - }; - meta = { - description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features"; - downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat"; - homepage = "https://github.com/features/copilot"; - license = lib.licenses.unfree; - maintainers = [ lib.maintainers.laurent-f1z1 ]; - }; - }; + github.copilot-chat = callPackage ./github.copilot-chat { }; github.github-vscode-theme = buildVscodeMarketplaceExtension { mktplcRef = { diff --git a/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix b/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix new file mode 100644 index 000000000000..f755d180df21 --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix @@ -0,0 +1,21 @@ +{ + lib, + vscode-utils, +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + publisher = "github"; + name = "copilot-chat"; + version = "0.26.7"; + hash = "sha256-aR6AGU/boDmYef0GWna5sUsyv9KYGCkugWpFIusDMNE="; + }; + + meta = { + description = "GitHub Copilot Chat is a companion extension to GitHub Copilot that houses experimental chat features"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat"; + homepage = "https://github.com/features/copilot"; + license = lib.licenses.unfree; + maintainers = [ lib.maintainers.laurent-f1z1 ]; + }; +} From d2556f64cd86fdcf56c73f6582a8a09b6fb32510 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 16 May 2025 10:19:07 +0200 Subject: [PATCH 3/4] vscode-extensions.github.copilot: 1.317.0 -> 1.322.0 --- .../editors/vscode/extensions/github.copilot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix b/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix index 9c295d753fc3..d1f2617f1775 100644 --- a/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix +++ b/pkgs/applications/editors/vscode/extensions/github.copilot/default.nix @@ -7,8 +7,8 @@ vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { publisher = "github"; name = "copilot"; - version = "1.317.0"; - hash = "sha256-w8HH1ibkOrpuKi3Yhzr+DjVIY7HWZ2L4rYzNYrHkfbc="; + version = "1.322.0"; + hash = "sha256-PekZQeRqpCSSVQe+AA0XLAwC3K0LGtRMbfnN7MxfmGA="; }; meta = { From dd56ec8b61a118709d5b3af721f990265182ce2e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 16 May 2025 10:20:00 +0200 Subject: [PATCH 4/4] vscode-extensions.github.copilot-chat: 0.26.7 -> 0.27.1 --- .../editors/vscode/extensions/github.copilot-chat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix b/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix index f755d180df21..7453f8f2fc69 100644 --- a/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix +++ b/pkgs/applications/editors/vscode/extensions/github.copilot-chat/default.nix @@ -7,8 +7,8 @@ vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { publisher = "github"; name = "copilot-chat"; - version = "0.26.7"; - hash = "sha256-aR6AGU/boDmYef0GWna5sUsyv9KYGCkugWpFIusDMNE="; + version = "0.27.1"; + hash = "sha256-HXzPI8B4wISly2SQNdbFO6CEREfhey+SH4HhutxH7Mg="; }; meta = {