kakoune-lsp: 15.0.1 -> 16.0.0

The project renamed from "kak-lsp" in this version. Command and config
file paths remain the same, at least for now.

Change-Id: I7cbce56096bac5d4c68c2e9d4effd11f51b7bbf5
This commit is contained in:
V 2024-02-26 10:55:56 +01:00
parent 7f797a698f
commit dcfecc9bbb
6 changed files with 15 additions and 10 deletions

View file

@ -1 +1,3 @@
{} {
"kak-lsp": { "new": "kakoune-lsp", "date": "2024-04-01" }
}

View file

@ -1,11 +1,11 @@
{ lib, stdenv, fetchFromGitHub, fetchFromGitLab, fetchgit { lib, stdenv, fetchFromGitHub, fetchFromGitLab, fetchgit
, buildKakounePluginFrom2Nix , buildKakounePluginFrom2Nix
, kak-lsp, parinfer-rust, rep , kakoune-lsp, parinfer-rust, rep
, fzf, git, guile, kakoune-unwrapped, lua5_3, plan9port , fzf, git, guile, kakoune-unwrapped, lua5_3, plan9port
}: }:
self: super: { self: super: {
inherit kak-lsp parinfer-rust rep; inherit kakoune-lsp parinfer-rust rep;
case-kak = buildKakounePluginFrom2Nix { case-kak = buildKakounePluginFrom2Nix {
pname = "case-kak"; pname = "case-kak";

View file

@ -1,21 +1,23 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, perl, CoreServices, Security, SystemConfiguration }: { stdenv, lib, fetchFromGitHub, rustPlatform, perl, CoreServices, Security, SystemConfiguration }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "kak-lsp"; pname = "kakoune-lsp";
version = "15.0.1"; version = "16.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; 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 ]; buildInputs = [ perl ] ++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
patches = [ ./0001-Use-full-Perl-path.patch ]; patches = [
./Use-full-Perl-path.patch
];
postPatch = '' postPatch = ''
substituteInPlace rc/lsp.kak \ substituteInPlace rc/lsp.kak \
@ -24,7 +26,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; { meta = with lib; {
description = "Kakoune Language Server Protocol Client"; 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 ]; license = with licenses; [ unlicense /* or */ mit ];
maintainers = with maintainers; [ spacekookie poweredbypie ]; maintainers = with maintainers; [ spacekookie poweredbypie ];
mainProgram = "kak-lsp"; mainProgram = "kak-lsp";

View file

@ -571,6 +571,7 @@ mapAliases ({
# now kube3d/k3d will take it's place # now kube3d/k3d will take it's place
kube3d = k3d; # Added 2022-0705 kube3d = k3d; # Added 2022-0705
kafkacat = kcat; # Added 2021-10-07 kafkacat = kcat; # Added 2021-10-07
kak-lsp = kakoune-lsp; # Added 2024-04-01
kdeconnect = plasma5Packages.kdeconnect-kde; # Added 2020-10-28 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 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 keepassx2 = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17

View file

@ -9632,7 +9632,7 @@ with pkgs;
kaffeine = libsForQt5.callPackage ../applications/video/kaffeine { }; 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; inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
}; };