Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, buildDotnetGlobalTool
3, dotnetCorePackages
4}:
5let
6 inherit (dotnetCorePackages) sdk_8_0;
7in
8
9buildDotnetGlobalTool rec {
10 pname = "csharp-ls";
11 version = "0.14.0";
12
13 nugetHash = "sha256-agcx7VPIqGhl3NzdGLPwXYJsRuvSjL4SdbNg9vFjIh4=";
14
15 dotnet-sdk = sdk_8_0;
16 dotnet-runtime = sdk_8_0;
17
18 meta = with lib; {
19 description = "Roslyn-based LSP language server for C#";
20 mainProgram = "csharp-ls";
21 homepage = "https://github.com/razzmatazz/csharp-language-server";
22 changelog = "https://github.com/razzmatazz/csharp-language-server/releases/tag/v${version}";
23 license = licenses.mit;
24 platforms = platforms.unix;
25 maintainers = with maintainers; [ GaetanLepage ];
26 };
27}