diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/vscode')
3 files changed, 112 insertions, 16 deletions
diff --git a/nixpkgs/pkgs/applications/editors/vscode/extensions/chenglou92.rescript-vscode/default.nix b/nixpkgs/pkgs/applications/editors/vscode/extensions/chenglou92.rescript-vscode/default.nix index 8bb4a5f5ce1a..b6273ff3a584 100644 --- a/nixpkgs/pkgs/applications/editors/vscode/extensions/chenglou92.rescript-vscode/default.nix +++ b/nixpkgs/pkgs/applications/editors/vscode/extensions/chenglou92.rescript-vscode/default.nix @@ -5,7 +5,7 @@ let arch = if stdenv.isLinux then "linux" else if stdenv.isDarwin then "darwin" - else throw "Unsupported platform"; + else throw "Unsupported system: ${stdenv.system}"; analysisDir = "server/analysis_binaries/${arch}"; in vscode-utils.buildVscodeMarketplaceExtension rec { diff --git a/nixpkgs/pkgs/applications/editors/vscode/extensions/default.nix b/nixpkgs/pkgs/applications/editors/vscode/extensions/default.nix index f2b1e7f127cc..0c0df699a4e1 100644 --- a/nixpkgs/pkgs/applications/editors/vscode/extensions/default.nix +++ b/nixpkgs/pkgs/applications/editors/vscode/extensions/default.nix @@ -98,6 +98,23 @@ let }; }; + aaron-bond.better-comments = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "better-comments"; + publisher = "aaron-bond"; + version = "3.0.2"; + sha256 = "850980f0f5a37f635deb4bf9100baaa83f0b204bbbb25acdb3c96e73778f8197"; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/aaron-bond.better-comments/changelog"; + description = "Improve your code commenting by annotating with alert, informational, TODOs, and more!"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments"; + homepage = "https://github.com/aaron-bond/better-comments"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.DataHearth ]; + }; + }; + adpyke.codesnap = buildVscodeMarketplaceExtension { mktplcRef = { name = "codesnap"; @@ -173,6 +190,23 @@ let }; }; + alexisvt.flutter-snippets = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "flutter-snippets"; + publisher = "alexisvt"; + version = "3.0.0"; + sha256 = "44ac46f826625f0a4aec40f2542f32c161e672ff96f45a548d0bccd9feed04ef"; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/alexisvt.flutter-snippets/changelog"; + description = "A set of helpful widget snippets for day to day Flutter development"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=alexisvt.flutter-snippets"; + homepage = "https://github.com/Alexisvt/flutter-snippets"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.DataHearth ]; + }; + }; + alygin.vscode-tlaplus = buildVscodeMarketplaceExtension { mktplcRef = { name = "vscode-tlaplus"; @@ -753,22 +787,57 @@ let }; charliermarsh.ruff = buildVscodeMarketplaceExtension { - mktplcRef = { + mktplcRef = let + sources = { + "x86_64-linux" = { + arch = "linux-x64"; + sha256 = "sha256-2c0tH/MlDOqeyffcV8ZCy4woogBTcf1GCuPPO8JXaWc="; + }; + "x86_64-darwin" = { + arch = "darwin-x64"; + sha256 = "sha256-euvGIlO7931N56R5BWKu3F9nSEoDgf+DXk7Hgl1qSUw="; + }; + "aarch64-linux" = { + arch = "linux-arm64"; + sha256 = "sha256-dGpIHChnfrQbxRZDuoAi4imgStyyPdxdvTQ3lknMYu0="; + }; + "aarch64-darwin" = { + arch = "darwin-arm64"; + sha256 = "sha256-tElX4C0I5AmpxSHMtqOsxSAUImD1tqArB5fnvhw4LFc="; + }; + }; + in { name = "ruff"; publisher = "charliermarsh"; - version = "2023.60.0"; - sha256 = "sha256-zxE4QcWt8M6djTbdIf0YNSpeF1w7vMK4/BW5ArCOYbE="; - }; + version = "2024.4.0"; + } // sources.${stdenv.system} or (throw "Unsupported system ${stdenv.system}"); meta = { license = lib.licenses.mit; - changelog = "https://github.com/astral-sh/ruff-vscode/releases"; - description = "Ruff extension for Visual Studio Code"; + changelog = "https://marketplace.visualstudio.com/items/charliermarsh.ruff/changelog"; + description = "A Visual Studio Code extension with support for the Ruff linter."; downloadPage = "https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff"; - homepage = "https://github.com/astral-sh/ruff-vscode/"; + homepage = "https://github.com/astral-sh/ruff-vscode"; maintainers = [ lib.maintainers.azd325 ]; }; }; + christian-kohler.npm-intellisense = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "npm-intellisense"; + publisher = "christian-kohler"; + version = "1.4.5"; + sha256 = "962b851a7cafbd51f34afeb4a0b91e985caff3947e46218a12b448533d8f60ab"; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/christian-kohler.npm-intellisense/changelog"; + description = "Visual Studio Code plugin that autocompletes npm modules in import statements"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense"; + homepage = "https://github.com/ChristianKohler/NpmIntellisense"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.DataHearth ]; + }; + }; + chenglou92.rescript-vscode = callPackage ./chenglou92.rescript-vscode { }; chris-hayes.chatgpt-reborn = buildVscodeMarketplaceExtension { @@ -1252,6 +1321,23 @@ let }; }; + ecmel.vscode-html-css = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "vscode-html-css"; + publisher = "ecmel"; + version = "2.0.9"; + sha256 = "7c30d57d2ff9986bd5daa2c9f51ec4bb04239ca23a51e971a63f7b93d005d297"; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/ecmel.vscode-html-css/changelog"; + description = "CSS Intellisense for HTML"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css"; + homepage = "https://github.com/ecmel/vscode-html-css"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.DataHearth ]; + }; + }; + editorconfig.editorconfig = buildVscodeMarketplaceExtension { mktplcRef = { name = "EditorConfig"; @@ -2220,6 +2306,16 @@ let }; }; + karunamurti.haml = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "haml"; + publisher = "karunamurti"; + version = "1.4.1"; + sha256 = "123cwfajakkg2pr0z4v289fzzlhwbxx9dvb5bjc32l3pzvbhq4gv"; + }; + meta.license = lib.licenses.mit; + }; + kddejong.vscode-cfn-lint = let inherit (python3Packages) cfn-lint pydot; diff --git a/nixpkgs/pkgs/applications/editors/vscode/vscode.nix b/nixpkgs/pkgs/applications/editors/vscode/vscode.nix index 976475238b63..aac9e1b72fdc 100644 --- a/nixpkgs/pkgs/applications/editors/vscode/vscode.nix +++ b/nixpkgs/pkgs/applications/editors/vscode/vscode.nix @@ -30,21 +30,21 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "0nffz9xqm1iny7sqi1pkmnfcski15qsycw9gxir18j51kfzz50wf"; - x86_64-darwin = "082m2wwd67ayjadlywqimnmdm8imw6lz0rd8rnwjd2sjksxnrsk8"; - aarch64-linux = "0wlm8ajm1xw8lpmnbkzkgvaakfa9gacwi7m2fdyc4822rq7fn09b"; - aarch64-darwin = "1rgcljj97f551yr0q5f0vxdkvbhxrbyqrw85gb6qfxpg5d0l7y4f"; - armv7l-linux = "1wpslrysi8a6rnx99lq16zx277lnmqjp02q6gxmkpcvrvw27m6yj"; + x86_64-linux = "17fzqq44p7ix4ihkg8nq582njjy96a8zz8vz9hl62hdxxg3llgfg"; + x86_64-darwin = "12vbkzv2l02wifcjd7amq583vlv0iqixpa2kf5swhl0arww1viqa"; + aarch64-linux = "1myv8zy2cycsmnp8xhjbm2lpcad3hj9zh79ywcinc50yncwj6wdl"; + aarch64-darwin = "0vvbwcbxf0fmcfyk2y231qd8lxaj869ap865zps6wcdjqr5wnbdq"; + armv7l-linux = "04gy6ls3gnbdcg4998widy9b9h04rx1gzp6iml6pi73li1cmfawz"; }.${system} or throwSystem; in callPackage ./generic.nix rec { # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.86.1"; + version = "1.86.2"; pname = "vscode" + lib.optionalString isInsiders "-insiders"; # This is used for VS Code - Remote SSH test - rev = "31c37ee8f63491495ac49e43b8544550fbae4533"; + rev = "903b1e9d8990623e3d7da1df3d33db3e42d80eda"; executableName = "code" + lib.optionalString isInsiders "-insiders"; longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders"; @@ -68,7 +68,7 @@ in src = fetchurl { name = "vscode-server-${rev}.tar.gz"; url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable"; - sha256 = "1hq6i51d1dhpippc8gmhygw3kj9cx021y54ga58l5b80wvg2cf1y"; + sha256 = "06jv2kzxy7p7y7294c4sq6fk6slwk4gfw6jqh79avnq0riy669gv"; }; }; |