2024-01-09 20:10:41 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
emacs,
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "emacs-lsp-booster";
|
2024-04-17 23:53:33 +00:00
|
|
|
version = "0.2.1";
|
2024-01-09 20:10:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blahgeek";
|
|
|
|
repo = "emacs-lsp-booster";
|
|
|
|
rev = "v${version}";
|
2024-04-17 23:53:33 +00:00
|
|
|
hash = "sha256-uP/xJfXQtk8oaG5Zk+dw+C2fVFdjpUZTDASFuj1+eYs=";
|
2024-01-09 20:10:41 +00:00
|
|
|
};
|
|
|
|
|
2024-04-17 23:53:33 +00:00
|
|
|
cargoHash = "sha256-CvIJ56QrIzQULFeXYQXTpX9PoGx1/DWtgwzfJ+mljEI=";
|
2024-01-09 20:10:41 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|