28 lines
779 B
Nix
28 lines
779 B
Nix
{ fetchFromGitHub
|
|
, rustPlatform
|
|
, lib
|
|
, ...
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "emacs-lsp-booster";
|
|
version = "0.2.1";
|
|
cargoHash = "sha256-CvIJ56QrIzQULFeXYQXTpX9PoGx1/DWtgwzfJ+mljEI=";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blahgeek";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "uP/xJfXQtk8oaG5Zk+dw+C2fVFdjpUZTDASFuj1+eYs=";
|
|
};
|
|
|
|
doCheck = false; # slow as heck, and likely unneded
|
|
|
|
meta = with lib; {
|
|
description = "Improve performance of Emacs LSP servers by converting JSON to bytecode";
|
|
homepage = "https://github.com/${src.owner}/${pname}";
|
|
changelog = "https://github.com/${src.owner}/${pname}/releases/tag/${version}";
|
|
license = [ licenses.mit ];
|
|
maintainers = [ ];
|
|
mainProgram = "emacs-lsp-booster";
|
|
};
|
|
}
|