2021-10-18 07:33:54 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security, SystemConfiguration }:
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kak-lsp";
|
2022-05-07 23:34:26 +02:00
|
|
|
version = "12.2.0";
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-19 15:31:43 +01:00
|
|
|
owner = pname;
|
2019-06-27 19:42:41 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-05-07 23:34:26 +02:00
|
|
|
sha256 = "sha256-Il3eF9bVrAaJkTDPB1DzEjROnJxIAnnk27qdT9qsp1k";
|
2019-06-27 19:42:41 +02:00
|
|
|
};
|
|
|
|
|
2022-05-07 23:34:26 +02:00
|
|
|
cargoSha256 = "sha256-wRjPjCKsvqnJkybNVAdVMgBA9RaviFyCJPv3D5hipSs";
|
2019-06-27 19:42:41 +02:00
|
|
|
|
2021-10-18 07:33:54 +02:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kakoune Language Server Protocol Client";
|
2021-09-04 12:50:41 +02:00
|
|
|
homepage = "https://github.com/kak-lsp/kak-lsp";
|
2019-06-27 19:42:41 +02:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|