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
, 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";

View File

@ -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";

View File

@ -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

View File

@ -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;
};