Merge pull request #241185 from GaetanLepage/csharp-ls

csharp-ls: init at 0.8.0
This commit is contained in:
Weijia Wang 2023-07-04 10:30:20 +03:00 committed by GitHub
commit c58910cf32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib
, buildDotnetGlobalTool
, dotnetCorePackages
}:
let
inherit (dotnetCorePackages) sdk_7_0;
in
buildDotnetGlobalTool rec {
pname = "csharp-ls";
version = "0.8.0";
nugetSha256 = "sha256-F3N6ESE/VmQA5sOMm3eqSkhSNVCCsnAXTCC+McsAnQw=";
dotnet-sdk = sdk_7_0;
dotnet-runtime = sdk_7_0;
meta = with lib; {
description = "Roslyn-based LSP language server for C#";
homepage = "https://github.com/razzmatazz/csharp-language-server";
changelog = "https://github.com/razzmatazz/csharp-language-server/releases/tag/v${version}";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View file

@ -786,6 +786,8 @@ with pkgs;
# Dotnet
csharp-ls = callPackage ../development/tools/language-servers/csharp-ls { };
dotnetCorePackages = recurseIntoAttrs (callPackage ../development/compilers/dotnet {});
dotnet-sdk_2 = dotnetCorePackages.sdk_2_1;