2019-06-27 17:42:41 +00:00
|
|
|
{ stdenv, lib, darwin, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kak-lsp";
|
2020-05-02 12:42:06 +00:00
|
|
|
version = "8.0.0";
|
2019-06-27 17:42:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ul";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-02 12:42:06 +00:00
|
|
|
sha256 = "0nka51szivwhlfkimjiyzj67nxh75m784c28ass6ihlfax631w9m";
|
2019-06-27 17:42:41 +00:00
|
|
|
};
|
|
|
|
|
2020-05-02 12:42:06 +00:00
|
|
|
cargoSha256 = "174qy50m9487vv151vm8q6sby79dq3gbqjbz6h4326jwsc9wwi8c";
|
2019-06-27 17:42:41 +00:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kakoune Language Server Protocol Client";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ul/kak-lsp";
|
2019-06-27 17:42:41 +00:00
|
|
|
license = with licenses; [ unlicense /* or */ mit ];
|
|
|
|
maintainers = [ maintainers.spacekookie ];
|
|
|
|
};
|
|
|
|
}
|