depot/third_party/nixpkgs/pkgs/by-name/em/emacs-lsp-booster/package.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

29 lines
709 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
emacs,
}:
rustPlatform.buildRustPackage rec {
pname = "emacs-lsp-booster";
version = "0.2.0";
src = fetchFromGitHub {
owner = "blahgeek";
repo = "emacs-lsp-booster";
rev = "v${version}";
hash = "sha256-DmEnuAR/OtTdKApEWCdOPAJplT29kuM6ZSHeOnQVo/c=";
};
cargoHash = "sha256-2wXsPkBl4InjbdYUiiQ+5fZFanLA88t5ApGZ4psfDqk=";
nativeCheckInputs = [emacs]; # tests/bytecode_test
meta = with lib; {
description = "Emacs LSP performance booster";
homepage = "https://github.com/blahgeek/emacs-lsp-booster";
license = licenses.mit;
maintainers = with maintainers; [icy-thought];
mainProgram = "emacs-lsp-booster";
};
}