nixpkgs/pkgs/tools/misc/kak-lsp/default.nix

25 lines
700 B
Nix
Raw Normal View History

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";
homepage = "https://github.com/ul/kak-lsp";
2019-06-27 17:42:41 +00:00
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.spacekookie ];
};
}