From 2fa423223037261b0431971f8017a1d5eedff177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Tue, 6 Sep 2022 23:22:59 -0600 Subject: [PATCH] =?UTF-8?q?vscode:=20a=C3=B1ade=20extensi=C3=B3n=20de=20ma?= =?UTF-8?q?tlab=20y=20octave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/gui/desktop/vscode.nix | 5 ++--- pkgs/vscode.nix | 12 +++++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/home/gui/desktop/vscode.nix b/home/gui/desktop/vscode.nix index 5ad62c4..3dca31b 100644 --- a/home/gui/desktop/vscode.nix +++ b/home/gui/desktop/vscode.nix @@ -11,15 +11,14 @@ with lib; mutableExtensionsDir = false; extensions = (with pkgs.vscode-extensions; [ bbenoist.nix - # justusadam.language-haskell ms-toolsai.jupyter ms-vscode.cpptools - # github.copilot ]) ++ (with pkgs.local.vscode-extensions; [ laurenttreguier.vscode-simple-icons rust-lang.rust sirtori.indenticator - # twxs.cmake + toasty-technologies.octave + Gimly81.matlab ]); userSettings = { "files.autoSave" = "onFocusChange"; diff --git a/pkgs/vscode.nix b/pkgs/vscode.nix index 1620912..4d3eab9 100644 --- a/pkgs/vscode.nix +++ b/pkgs/vscode.nix @@ -34,8 +34,18 @@ publisher = "Gimly81"; name = "matlab"; version = "2.3.1"; - sha256 = lib.fakeSha256; + sha256 = "sha256-0vx5L9efxvubb+JFunJJKaPvSxfgmYZkDJOxpXAV6xs="; }; meta.license = lib.licenses.mit; }; + + toasty-technologies.octave = buildVscodeMarketplaceExtension { + mktplcRef = { + publisher = "toasty-technologies"; + name = "octave"; + version = "0.0.3"; + sha256 = "sha256-tbqblaBX+wqgasfGLsFp49xYxXi5CF39YPYs0QyANt0="; + }; + }; +# para obtener el sha: lib.fakeSha256 }