diff --git a/doc/release-notes/rl-2511.section.md b/doc/release-notes/rl-2511.section.md index 2a9912f269fc..9f0efa3e7b57 100644 --- a/doc/release-notes/rl-2511.section.md +++ b/doc/release-notes/rl-2511.section.md @@ -287,6 +287,8 @@ Use `python3Packages.ddgs` instead. See [release note for v9.0.0](https://github.com/deedy5/ddgs/releases/tag/v9.0.0) +- `ra-multiplex` has been renamed to/replaced by `lspmux`. Its wrapper no longer includes `rust-analyzer`. + ## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes} diff --git a/pkgs/by-name/ls/lspmux/package.nix b/pkgs/by-name/ls/lspmux/package.nix new file mode 100644 index 000000000000..deeb333f59f3 --- /dev/null +++ b/pkgs/by-name/ls/lspmux/package.nix @@ -0,0 +1,28 @@ +{ + lib, + fetchFromGitea, + rustPlatform, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "lspmux"; + version = "0.3.0"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "p2502"; + repo = "lspmux"; + rev = "v${finalAttrs.version}"; + hash = "sha256-WNmejKA1wXbu7+cwxBu1tv0kUunt1LAcGP48fWon/b4="; + }; + + cargoHash = "sha256-Um4BZ1QTHCilOslo/GR7cGvPCX1xNitf6WU8QaehAaE="; + + meta = with lib; { + description = "Share one language server instance between multiple LSP clients to save resources"; + mainProgram = "lspmux"; + homepage = "https://codeberg.org/p2502/lspmux"; + license = with licenses; [ eupl12 ]; + maintainers = with maintainers; [ mrcjkb ]; + }; +}) diff --git a/pkgs/by-name/ra/ra-multiplex/package.nix b/pkgs/by-name/ra/ra-multiplex/package.nix deleted file mode 100644 index 5024c50e43c3..000000000000 --- a/pkgs/by-name/ra/ra-multiplex/package.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - lib, - fetchFromGitHub, - makeWrapper, - rustPlatform, - rust-analyzer, -}: - -rustPlatform.buildRustPackage rec { - pname = "ra-multiplex"; - version = "0.2.5"; - - src = fetchFromGitHub { - owner = "pr2502"; - repo = "ra-multiplex"; - rev = "v${version}"; - hash = "sha256-aBrn9g+MGXLAsOmHqw1Tt6NPFGJTyYv/L9UI/vQU4i8="; - }; - - cargoHash = "sha256-NVE/ROk6x1R0D5eyOzz1gYPvgG0lX5L2tCuZGIS9kzs="; - - nativeBuildInputs = [ makeWrapper ]; - - postInstall = '' - wrapProgram $out/bin/ra-multiplex \ - --suffix PATH : ${lib.makeBinPath [ rust-analyzer ]} - ''; - - meta = with lib; { - description = "Multiplexer for rust-analyzer"; - mainProgram = "ra-multiplex"; - homepage = "https://github.com/pr2502/ra-multiplex"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ norfair ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 645d34baada4..af692a2e3ce1 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1332,6 +1332,7 @@ mapAliases { quicksynergy = throw "'quicksynergy' has been removed due to lack of maintenance upstream. Consider using 'deskflow' instead."; # Added 2025-06-18 quorum = throw "'quorum' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-07 qv2ray = throw "'qv2ray' has been removed as it was unmaintained"; # Added 2025-06-03 + ra-multiplex = lib.warnOnInstantiate "'ra-multiplex' has been renamed to/replaced by 'lspmux'" lspmux; # Added 2025-10-27 radicale3 = throw "'radicale3' has been renamed to/replaced by 'radicale'"; # Converted to throw 2025-10-27 railway-travel = throw "'railway-travel' has been renamed to/replaced by 'diebahn'"; # Converted to throw 2025-10-27 rambox-pro = throw "'rambox-pro' has been renamed to/replaced by 'rambox'"; # Converted to throw 2025-10-27