diff --git a/pkgs/by-name/em/emacs-lsp-booster/package.nix b/pkgs/by-name/em/emacs-lsp-booster/package.nix new file mode 100644 index 000000000000..bb3ff576d5ab --- /dev/null +++ b/pkgs/by-name/em/emacs-lsp-booster/package.nix @@ -0,0 +1,29 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + emacs, +}: +rustPlatform.buildRustPackage rec { + pname = "emacs-lsp-booster"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "blahgeek"; + repo = "emacs-lsp-booster"; + rev = "v${version}"; + hash = "sha256-0roQxzQrxcmS2RHQPguBRL76xSErf2hVjuJEyFr5MeM="; + }; + + cargoHash = "sha256-quqhAMKsZorYKFByy2bojGgYR2Ps959Rg/TP8SnwbqM="; + + 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"; + }; +}