@@ -0,0 +1,25 @@
1+{ stdenv, lib, darwin, fetchFromGitHub, rustPlatform }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "kak-lsp";
5+ version = "6.2.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "ul";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0bazbz1g5iqxlwybn5whidvavglvgdl9yp9qswgsk1jrjmcr5klx";
12+ };
13+
14+ cargoSha256 = "0w0mnh8fnl8zi9n0fxzqaqbvmfagf3ay5v2na3laxb72jm76hrwa";
15+
16+ buildInputs = lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
17+
18+ meta = with lib; {
19+ description = "Kakoune Language Server Protocol Client";
20+ homepage = https://github.com/ul/kak-lsp;
21+ license = with licenses; [ unlicense /* or */ mit ];
22+ maintainers = [ maintainers.spacekookie ];
23+ platforms = platforms.all;
24+ };
25+}