about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorRaroh73 <96078496+Raroh73@users.noreply.github.com>2024-02-16 15:05:57 +0100
committerRaroh73 <96078496+Raroh73@users.noreply.github.com>2024-02-25 10:56:28 +0100
commited75c1ad48689f52610bfe9f569245c8c03652b7 (patch)
tree26ae53c8140bbbd51b0f0e05b4feefefa42fdabc /pkgs/applications/editors
parente603deafb8a56c1e92e7e307e0b7a0632d0857f1 (diff)
downloadnixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.tar
nixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.tar.gz
nixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.tar.bz2
nixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.tar.lz
nixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.tar.xz
nixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.tar.zst
nixlib-ed75c1ad48689f52610bfe9f569245c8c03652b7.zip
vscode-extensions.continue.continue: init at 0.8.12
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/vscode/extensions/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix
index 1c6d03d8ddfe..a002bc3ac197 100644
--- a/pkgs/applications/editors/vscode/extensions/default.nix
+++ b/pkgs/applications/editors/vscode/extensions/default.nix
@@ -903,6 +903,54 @@ let
 
       contextmapper.context-mapper-vscode-extension = callPackage ./contextmapper.context-mapper-vscode-extension { };
 
+      continue.continue = buildVscodeMarketplaceExtension {
+        mktplcRef =
+          let
+            sources = {
+              "x86_64-linux" = {
+                arch = "linux-x64";
+                sha256 = "05kh6sf3jv3510q33chf8s5n1kfp9wcm7650va7mcrdkfr9g8ysq";
+              };
+              "x86_64-darwin" = {
+                arch = "darwin-x64";
+                sha256 = "0242h9kq47qvs1xynr5x8dzxkc5pwgb6km0iqpyy9kydg8ng1vp3";
+              };
+              "aarch64-linux" = {
+                arch = "linux-arm64";
+                sha256 = "1qm3f2lh8mi3hnyp2bmx7j2lir6fmbbxkzh6b8zf579khhbapnaz";
+              };
+              "aarch64-darwin" = {
+                arch = "darwin-arm64";
+                sha256 = "18w22z1c5qgkpw2zlwmi9gs9dx1pcm51f0r8my7ynnvgl6mp12sg";
+              };
+            };
+          in
+          {
+            name = "continue";
+            publisher = "Continue";
+            version = "0.8.12";
+          } // sources.${stdenv.system};
+        nativeBuildInputs = [
+          autoPatchelfHook
+        ];
+        buildInputs = [
+          stdenv.cc.cc.lib
+        ];
+        postInstall = ''
+          cd "$out/$installPrefix"
+          substituteInPlace "out/extension.js" \
+            --replace-fail 'await showTutorial();' '//await showTutorial();'
+        '';
+        meta = {
+          description = "Open-source autopilot for software development - bring the power of ChatGPT to your IDE";
+          downloadPage = "https://marketplace.visualstudio.com/items?itemName=Continue.continue";
+          homepage = "https://github.com/continuedev/continue";
+          license = lib.licenses.asl20;
+          maintainers = [ lib.maintainers.raroh73 ];
+          platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ];
+        };
+      };
+
       coolbear.systemd-unit-file = buildVscodeMarketplaceExtension {
         mktplcRef = {
           publisher = "coolbear";