nix/pkgs/emacs-lsp-booster.nix

26 lines
776 B
Nix
Raw Normal View History

2024-08-26 16:37:52 +02:00
{ 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";
};
}