2021-02-15 00:29:59 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kak-lsp";
|
2021-02-19 15:31:43 +01:00
|
|
|
version = "9.0.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}";
|
2021-02-19 15:31:43 +01:00
|
|
|
sha256 = "1wfv2fy5ga6kc51zka3pak0hq97csm2l11bz74w3n1hrf5q9nnf8";
|
2019-06-27 19:42:41 +02:00
|
|
|
};
|
|
|
|
|
2021-02-19 15:31:43 +01:00
|
|
|
cargoSha256 = "0g67s6n45rxvv1q5s7x5ajh5n16p68bhlsrsjp46qamrraz63d68";
|
2019-06-27 19:42:41 +02:00
|
|
|
|
2021-02-15 00:29:59 +01:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin [ Security ];
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kakoune Language Server Protocol Client";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ul/kak-lsp";
|
2019-06-27 19:42:41 +02:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|