2019-06-27 19:42:41 +02:00
|
|
|
{ stdenv, lib, darwin, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kak-lsp";
|
2020-05-02 14:42:06 +02:00
|
|
|
version = "8.0.0";
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ul";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-02 14:42:06 +02:00
|
|
|
sha256 = "0nka51szivwhlfkimjiyzj67nxh75m784c28ass6ihlfax631w9m";
|
2019-06-27 19:42:41 +02:00
|
|
|
};
|
|
|
|
|
2020-05-02 14:42:06 +02:00
|
|
|
cargoSha256 = "174qy50m9487vv151vm8q6sby79dq3gbqjbz6h4326jwsc9wwi8c";
|
2019-06-27 19:42:41 +02:00
|
|
|
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|