depot/third_party/nixpkgs/pkgs/tools/misc/kak-lsp/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

24 lines
700 B
Nix

{ stdenv, lib, darwin, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "kak-lsp";
version = "8.0.0";
src = fetchFromGitHub {
owner = "ul";
repo = pname;
rev = "v${version}";
sha256 = "0nka51szivwhlfkimjiyzj67nxh75m784c28ass6ihlfax631w9m";
};
cargoSha256 = "174qy50m9487vv151vm8q6sby79dq3gbqjbz6h4326jwsc9wwi8c";
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";
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.spacekookie ];
};
}