diff --git a/pkgs/development/tools/language-servers/csharp-ls/default.nix b/pkgs/by-name/cs/csharp-ls/package.nix similarity index 53% rename from pkgs/development/tools/language-servers/csharp-ls/default.nix rename to pkgs/by-name/cs/csharp-ls/package.nix index 5cae31845563..75ad3c6aaf13 100644 --- a/pkgs/development/tools/language-servers/csharp-ls/default.nix +++ b/pkgs/by-name/cs/csharp-ls/package.nix @@ -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 ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4658573485ec..d43609da0e2b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;