mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
30 lines
709 B
Nix
30 lines
709 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
emacs,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "emacs-lsp-booster";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blahgeek";
|
|
repo = "emacs-lsp-booster";
|
|
rev = "v${version}";
|
|
hash = "sha256-uP/xJfXQtk8oaG5Zk+dw+C2fVFdjpUZTDASFuj1+eYs=";
|
|
};
|
|
|
|
cargoHash = "sha256-CvIJ56QrIzQULFeXYQXTpX9PoGx1/DWtgwzfJ+mljEI=";
|
|
|
|
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";
|
|
};
|
|
}
|