emacsPackages.ligo-mode: init at 20230302.1616

Maybe it should solve the problem with the auto-updater.
This commit is contained in:
Anderson Torres
2023-04-22 09:07:52 -03:00
parent 3b23c18951
commit fa9e9b0a65
2 changed files with 45 additions and 0 deletions
@@ -47,6 +47,8 @@ in
jam-mode = callPackage ./manual-packages/jam-mode { };
ligo-mode = callPackage ./manual-packages/ligo-mode { };
llvm-mode = callPackage ./manual-packages/llvm-mode { };
lsp-bridge = callPackage ./manual-packages/lsp-bridge {
@@ -0,0 +1,43 @@
{ lib
, melpaBuild
, fetchFromGitLab
, writeText
, unstableGitUpdater
}:
let
pname = "ligo-mode";
version = "20230302.1616";
commit = "d1073474efc9e0a020a4bcdf5e0c12a217265a3a";
in
melpaBuild {
inherit pname version commit;
src = fetchFromGitLab {
owner = "ligolang";
repo = "ligo";
rev = commit;
hash = "sha256-wz9DF9mqi8WUt1Ebd+ueUTA314rKkdbjmoWF8cKuS8I=";
};
packageRequires = [ ];
buildInputs = [ ];
checkInputs = [ ];
recipe = writeText "recipe" ''
(ligo-mode :fetcher gitlab
:repo "ligolang/ligo"
:files ("tools/emacs/ligo-mode.el"))
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "A blazingly fast LSP client for Emacs";
homepage = "https://github.com/manateelazycat/lsp-bridge";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
};
}