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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
721 B
Nix
Raw Normal View History

2021-10-18 05:33:54 +00:00
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security, SystemConfiguration }:
2019-06-27 17:42:41 +00:00
rustPlatform.buildRustPackage rec {
pname = "kak-lsp";
2022-10-27 10:46:36 +00:00
version = "14.1.0";
2019-06-27 17:42:41 +00:00
src = fetchFromGitHub {
owner = pname;
2019-06-27 17:42:41 +00:00
repo = pname;
rev = "v${version}";
2022-10-27 10:46:36 +00:00
sha256 = "sha256-5eGp11qPLT1fen39bZmICReK2Ly8Kg9Y3g30ZV0gk04=";
2019-06-27 17:42:41 +00:00
};
2022-10-27 10:46:36 +00:00
cargoSha256 = "sha256-+Sj+QSSXJAgGulMLRCWLgddVG8sIiHaB1xWPojVCgas=";
2019-06-27 17:42:41 +00:00
2021-10-18 05:33:54 +00:00
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
2019-06-27 17:42:41 +00:00
meta = with lib; {
description = "Kakoune Language Server Protocol Client";
2021-09-04 10:50:41 +00:00
homepage = "https://github.com/kak-lsp/kak-lsp";
2019-06-27 17:42:41 +00:00
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.spacekookie ];
};
}