Unverified Commit 49515b38 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #329948 from magnouvean/vscode-csharp-extensions

vscode-extensions: Add various C# extensions
parents 13a43fed 79b30f90
Loading
Loading
Loading
Loading
+83 −0
Original line number Diff line number Diff line
@@ -1099,6 +1099,23 @@ let
        };
      };

      csharpier.csharpier-vscode = buildVscodeMarketplaceExtension {
        mktplcRef = {
          name = "csharpier-vscode";
          publisher = "csharpier";
          version = "1.7.3";
          hash = "sha256-/ZLjnlLl6xmgEazdCbnuE6UuuV1tDwAjpxz+vmBuYHE=";
        };
        meta = {
          changelog = "https://marketplace.visualstudio.com/items/csharpier.csharpier-vscode/changelog";
          description = "CSharpier code formatter for Visual Studio Code";
          downloadPage = "https://marketplace.visualstudio.com/items?itemName=csharpier.csharpier-vscode";
          homepage = "https://github.com/belav/csharpier";
          license = lib.licenses.mit;
          maintainers = [ lib.maintainers.magnouvean ];
        };
      };

      cweijan.dbclient-jdbc = buildVscodeMarketplaceExtension {
        mktplcRef = {
          name = "dbclient-jdbc";
@@ -3109,6 +3126,72 @@ let
      ms-dotnettools.csdevkit = callPackage ./ms-dotnettools.csdevkit { };
      ms-dotnettools.csharp = callPackage ./ms-dotnettools.csharp { };

      ms-dotnettools.vscode-dotnet-runtime = buildVscodeMarketplaceExtension {
        mktplcRef = {
          name = "vscode-dotnet-runtime";
          publisher = "ms-dotnettools";
          version = "2.1.1";
          hash = "sha256-k14bjWITPDduJi79W59SnMV2TFNRCeAymhs6u1Y0vzk=";
        };
        meta = {
          changelog = "https://marketplace.visualstudio.com/items/ms-dotnettools.vscode-dotnet-runtime/changelog";
          description = "Provides a way for other Visual Studio Code extensions to install local versions of .NET SDK/Runtime";
          downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime";
          homepage = "https://github.com/dotnet/vscode-dotnet-runtime";
          license = lib.licenses.mit;
          maintainers = [ lib.maintainers.magnouvean ];
        };
      };

      ms-dotnettools.vscodeintellicode-csharp = buildVscodeMarketplaceExtension {
        mktplcRef =
          let
            sources = {
              "x86_64-linux" = {
                arch = "linux-x64";
                hash = "sha256-oQMwzQuW5vjxtDboRCeiEO5aytsAY6rb14JDTmK3JPg=";
              };
              "x86_64-darwin" = {
                arch = "darwin-x64";
                hash = "sha256-/9+qtLDNYUFvdoehit3BihA38p6RqJ7na5Q27xxpZk0=";
              };
              "aarch64-linux" = {
                arch = "linux-arm64";
                hash = "sha256-JqLlYMKyTXaEzuTPPxVaO8WJiuCUN+9xBzyA6+aYdSc=";
              };
              "aarch64-darwin" = {
                arch = "darwin-arm64";
                hash = "sha256-dhiUePePkO3MxRQ5UP+lOxRax503JlERe/GWJ8pPUIg=";
              };
            };
          in
          {
            name = "vscodeintellicode-csharp";
            publisher = "ms-dotnettools";
            version = "2.1.11";
          }
          // sources.${stdenv.system};
        nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
        buildInputs = [
          stdenv.cc.cc.lib
          zlib
        ];
        meta = {
          changelog = "https://marketplace.visualstudio.com/items/ms-dotnettools.vscodeintellicode-csharp/changelog";
          description = "AI-assisted development features for C# in Visual Studio Code";
          downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscodeintellicode-csharp";
          homepage = "https://github.com/MicrosoftDocs/intellicode";
          license = lib.licenses.unfree;
          maintainers = [ lib.maintainers.magnouvean ];
          platforms = [
            "x86_64-linux"
            "x86_64-darwin"
            "aarch64-darwin"
            "aarch64-linux"
          ];
        };
      };

      ms-kubernetes-tools.vscode-kubernetes-tools = buildVscodeMarketplaceExtension {
        mktplcRef = {
          name = "vscode-kubernetes-tools";