~ruther/guix-local

169894151fdcde249ba6e2c248b3e894f74eaa15 — Danny Milosavljevic 1 year, 6 months ago e548e4c
gnu: Add emacs-lean4-mode.

* gnu/packages/emacs-xyz.scm (emacs-lean4-mode): New variable.

Change-Id: I787e4debe890f1f18c2bbdf8ee4334c4e46433eb
1 files changed, 23 insertions(+), 0 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +23 -0
@@ 3013,6 3013,29 @@ replacement.")
programs.")
    (license license:gpl3+)))

(define-public emacs-lean4-mode
  (package
    (name "emacs-lean4-mode")
    (version "1.1.2")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                     (url "https://github.com/leanprover-community/lean4-mode.git")
                     (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1i4l614n0hs02y0a4xfnzc4xkilkp6bzx28pys4jkp96vp2ivf0c"))))
    (build-system emacs-build-system)
    ;; TODO: Just emacs-magit-section instead of emacs-magit would be enough.
    (propagated-inputs
     (list emacs-compat emacs-lsp-mode emacs-dash emacs-magit))
    (synopsis "Lean 4 major mode for Emacs")
    (description "This package provides a major mode for the Lean theorem
prover, version 4.")
    (home-page "https://lean-lang.org/")
    (license license:asl2.0)))

(define-public emacs-dante
  (package
    (name "emacs-dante")