2021-10-18 06:33:54 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security, SystemConfiguration }:
|
2019-06-27 18:42:41 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kak-lsp";
|
2021-10-18 06:33:54 +01:00
|
|
|
version = "11.0.1";
|
2019-06-27 18:42:41 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-19 14:31:43 +00:00
|
|
|
owner = pname;
|
2019-06-27 18:42:41 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-18 06:33:54 +01:00
|
|
|
sha256 = "sha256-rSUXMQF4V+ToYw3RIfEZd2AfAiHoRPDC3DZBAg2zeKo=";
|
2019-06-27 18:42:41 +01:00
|
|
|
};
|
|
|
|
|
2021-10-18 06:33:54 +01:00
|
|
|
cargoSha256 = "sha256-vcq+WVHmGFrZFLzNWyHU7qN6cDSKP9pAzxZNs2+8jR8=";
|
2019-06-27 18:42:41 +01:00
|
|
|
|
2021-10-18 06:33:54 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
2019-06-27 18:42:41 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kakoune Language Server Protocol Client";
|
2021-09-04 11:50:41 +01:00
|
|
|
homepage = "https://github.com/kak-lsp/kak-lsp";
|
2019-06-27 18:42:41 +01:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|