Unverified Commit 4d06269c authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

vscode-extensions.tombi-toml.tombi: init at 0.7.7 (#470188)

parents d7c9bea6 3f779c93
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4769,6 +4769,8 @@ let

      tboby.cwtools-vscode = callPackage ./tboby.cwtools-vscode { };

      tombi-toml.tombi = callPackage ./tombi-toml.tombi { };

      tomoki1207.pdf = buildVscodeMarketplaceExtension {
        mktplcRef = {
          name = "pdf";
+47 −0
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  vscode-utils,
}:

let
  supported = {
    x86_64-linux = {
      hash = "sha256-YoB9gH84F9h6vdRbgCJGQhBmcXQ6jzrxvF2hA7gb3aI=";
      arch = "linux-x64";
    };
    x86_64-darwin = {
      hash = "sha256-IDJJuSLNt0SxV8LdDX0JC3P+VR6NUAfe5u8p9vI+ik8=";
      arch = "darwin-x64";
    };
    aarch64-linux = {
      hash = "sha256-gDufj8XYlowpKd2MQMZBsnZ2eT/pbngDlKeIFlkUKzU=";
      arch = "linux-arm64";
    };
    aarch64-darwin = {
      hash = "sha256-biWq6nsO4XGOMSUA9/yXMejC1wTDKsuQdPU26w0r4Lg=";
      arch = "darwin-arm64";
    };
  };

  base =
    supported.${stdenv.hostPlatform.system}
      or (throw "unsupported platform ${stdenv.hostPlatform.system}");

in

vscode-utils.buildVscodeMarketplaceExtension {
  mktplcRef = base // {
    name = "tombi";
    publisher = "tombi-toml";
    version = "0.7.7";
  };
  meta = {
    description = "TOML Language Server";
    downloadPage = "https://marketplace.visualstudio.com/items?itemName=tombi-toml.tombi";
    homepage = "https://tombi-toml.github.io/tombi/";
    license = lib.licenses.mit;
    platforms = builtins.attrNames supported;
    maintainers = [ lib.maintainers.m0nsterrr ];
  };
}