csharp-ls: init at 0.8.0

This commit is contained in:
Gaetan Lepage 2023-07-03 00:21:40 +02:00
parent ab163c16ee
commit 2040b2c382
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;