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

25 lines
674 B
Nix
Raw Normal View History

2021-02-15 00:29:59 +01:00
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security }:
2019-06-27 19:42:41 +02:00
rustPlatform.buildRustPackage rec {
pname = "kak-lsp";
2021-06-05 00:13:03 +02:00
version = "10.0.0";
2019-06-27 19:42:41 +02:00
src = fetchFromGitHub {
owner = pname;
2019-06-27 19:42:41 +02:00
repo = pname;
rev = "v${version}";
2021-06-05 00:13:03 +02:00
sha256 = "sha256-SmK4G9AoKGqKGbXucn5AO5DTOeVNq3gCBGvDTIJQgRU=";
2019-06-27 19:42:41 +02:00
};
2021-06-05 00:13:03 +02:00
cargoSha256 = "sha256-iY5xT8e/gRN/mBT9v5LhMcl9g1/SyrH/glPBP+toZ9o=";
2019-06-27 19:42:41 +02:00
2021-02-15 00:29:59 +01:00
buildInputs = lib.optional stdenv.isDarwin [ Security ];
2019-06-27 19:42:41 +02:00
meta = with lib; {
description = "Kakoune Language Server Protocol Client";
homepage = "https://github.com/ul/kak-lsp";
2019-06-27 19:42:41 +02:00
license = with licenses; [ unlicense /* or */ mit ];
maintainers = [ maintainers.spacekookie ];
};
}