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

25 lines
674 B
Nix
Raw Normal View History

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