2021-02-14 23:29:59 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
|
2019-06-27 17:42:41 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kak-lsp";
|
2021-09-04 10:50:41 +00:00
|
|
|
version = "11.0.0";
|
2019-06-27 17:42:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-19 14:31:43 +00:00
|
|
|
owner = pname;
|
2019-06-27 17:42:41 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-04 10:50:41 +00:00
|
|
|
sha256 = "198y2k3vi8dh9kfqgl7vpgkxvjlfvryi9c8hmb43m0lpwsja0010";
|
2019-06-27 17:42:41 +00:00
|
|
|
};
|
|
|
|
|
2021-09-04 10:50:41 +00:00
|
|
|
cargoSha256 = "0sv1a2k5rcf4hl1w50mh041r3w3nir6avyl6xa3rlcc7cy19q21y";
|
2019-06-27 17:42:41 +00:00
|
|
|
|
2021-02-14 23:29:59 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin [ Security ];
|
2019-06-27 17:42:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kakoune Language Server Protocol Client";
|
2021-09-04 10:50:41 +00:00
|
|
|
homepage = "https://github.com/kak-lsp/kak-lsp";
|
2019-06-27 17:42:41 +00:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|