nix/pkgs/emacs-lsp-booster.nix

29 lines
779 B
Nix
Raw Permalink Normal View History

2025-02-24 17:26:11 +01: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";
};
}