diff --git a/pkgs/applications/editors/kakoune/plugins/deprecated.json b/pkgs/applications/editors/kakoune/plugins/deprecated.json index 0967ef424bce..3834a321e76d 100644 --- a/pkgs/applications/editors/kakoune/plugins/deprecated.json +++ b/pkgs/applications/editors/kakoune/plugins/deprecated.json @@ -1 +1,3 @@ -{} +{ + "kak-lsp": { "new": "kakoune-lsp", "date": "2024-04-01" } +} diff --git a/pkgs/applications/editors/kakoune/plugins/overrides.nix b/pkgs/applications/editors/kakoune/plugins/overrides.nix index fb1287ba490b..ebdcac8e4dae 100644 --- a/pkgs/applications/editors/kakoune/plugins/overrides.nix +++ b/pkgs/applications/editors/kakoune/plugins/overrides.nix @@ -1,11 +1,11 @@ { lib, stdenv, fetchFromGitHub, fetchFromGitLab, fetchgit , buildKakounePluginFrom2Nix -, kak-lsp, parinfer-rust, rep +, kakoune-lsp, parinfer-rust, rep , fzf, git, guile, kakoune-unwrapped, lua5_3, plan9port }: self: super: { - inherit kak-lsp parinfer-rust rep; + inherit kakoune-lsp parinfer-rust rep; case-kak = buildKakounePluginFrom2Nix { pname = "case-kak"; diff --git a/pkgs/tools/misc/kak-lsp/0001-Use-full-Perl-path.patch b/pkgs/by-name/ka/kakoune-lsp/Use-full-Perl-path.patch similarity index 100% rename from pkgs/tools/misc/kak-lsp/0001-Use-full-Perl-path.patch rename to pkgs/by-name/ka/kakoune-lsp/Use-full-Perl-path.patch diff --git a/pkgs/tools/misc/kak-lsp/default.nix b/pkgs/by-name/ka/kakoune-lsp/package.nix similarity index 70% rename from pkgs/tools/misc/kak-lsp/default.nix rename to pkgs/by-name/ka/kakoune-lsp/package.nix index a49847f8e11f..68b2fce02554 100644 --- a/pkgs/tools/misc/kak-lsp/default.nix +++ b/pkgs/by-name/ka/kakoune-lsp/package.nix @@ -1,21 +1,23 @@ { stdenv, lib, fetchFromGitHub, rustPlatform, perl, CoreServices, Security, SystemConfiguration }: rustPlatform.buildRustPackage rec { - pname = "kak-lsp"; - version = "15.0.1"; + pname = "kakoune-lsp"; + version = "16.0.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-W4z2YtOEBCTM+NsL1HBHSYCXJXN459chE4RW0CPMjD4="; + sha256 = "sha256-d4Tc6iYp20uOKMd+T2LhWgXWZzvzq1E+VWqjhhiIiHE="; }; - cargoHash = "sha256-tAA9eu4y1h6huNmEgY3L6v29itP5I4a8UZgoA+ANoq0="; + cargoHash = "sha256-kV8d0PwIWS6gyfCtv70iv8MrL91ZOZbwYznhc3lUw0U="; buildInputs = [ perl ] ++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ]; - patches = [ ./0001-Use-full-Perl-path.patch ]; + patches = [ + ./Use-full-Perl-path.patch + ]; postPatch = '' substituteInPlace rc/lsp.kak \ @@ -24,7 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Kakoune Language Server Protocol Client"; - homepage = "https://github.com/kak-lsp/kak-lsp"; + homepage = "https://github.com/kakoune-lsp/kakoune-lsp"; license = with licenses; [ unlicense /* or */ mit ]; maintainers = with maintainers; [ spacekookie poweredbypie ]; mainProgram = "kak-lsp"; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 879d822f931a..9d211b0e4bd9 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -571,6 +571,7 @@ mapAliases ({ # now kube3d/k3d will take it's place kube3d = k3d; # Added 2022-0705 kafkacat = kcat; # Added 2021-10-07 + kak-lsp = kakoune-lsp; # Added 2024-04-01 kdeconnect = plasma5Packages.kdeconnect-kde; # Added 2020-10-28 keepassx = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17 keepassx2 = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f4846b4a3b3..be206a59919f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9632,7 +9632,7 @@ with pkgs; kaffeine = libsForQt5.callPackage ../applications/video/kaffeine { }; - kak-lsp = callPackage ../tools/misc/kak-lsp { + kakoune-lsp = callPackage ../by-name/ka/kakoune-lsp/package.nix { inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; };