Merge pull request #335038 from GaetanLepage/csharp-ls

csharp-ls: 0.14.0 -> 0.15.0 + cleaning
This commit is contained in:
Pol Dellaiera 2024-08-16 09:27:27 +02:00 committed by GitHub
commit afb5ba779c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 11 deletions

View File

@ -1,6 +1,8 @@
{ lib
, buildDotnetGlobalTool
, dotnetCorePackages
{
lib,
buildDotnetGlobalTool,
dotnetCorePackages,
nix-update-script,
}:
let
inherit (dotnetCorePackages) sdk_8_0;
@ -8,20 +10,24 @@ in
buildDotnetGlobalTool rec {
pname = "csharp-ls";
version = "0.14.0";
version = "0.15.0";
nugetHash = "sha256-agcx7VPIqGhl3NzdGLPwXYJsRuvSjL4SdbNg9vFjIh4=";
nugetHash = "sha256-Fp1D2z4x2e85z4IO4xQentS7dbqhFT3e/BPZm0d5L5M=";
dotnet-sdk = sdk_8_0;
dotnet-runtime = sdk_8_0;
meta = with lib; {
passthru.tests = {
updateScript = nix-update-script { };
};
meta = {
description = "Roslyn-based LSP language server for C#";
mainProgram = "csharp-ls";
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.unix;
maintainers = with maintainers; [ GaetanLepage ];
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}

View File

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