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

25 lines
700 B
Nix
Raw Normal View History

2019-06-27 18:42:41 +01:00
{ stdenv, lib, darwin, fetchFromGitHub, rustPlatform }:
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
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 18:42:41 +01:00
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.spacekookie ];
};
}