nix/pkgs/emacs-lsp-booster.nix

29 lines
779 B
Nix
Raw Normal View History

2024-09-12 09:07:55 +02:00
{ fetchFromGitHub
, rustPlatform
, lib
, ...
}:
2024-08-26 16:37:52 +02:00
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 ];
2024-09-12 09:07:55 +02:00
maintainers = [ ];
2024-08-26 16:37:52 +02:00
mainProgram = "emacs-lsp-booster";
};
}