From 92588a87158e30296cca460711c219b99e8d4bb4 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Thu, 13 Jun 2024 14:20:32 -0300 Subject: [PATCH] packages: emacs-xyz: Add emacs-lean4-mode --- radix/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 radix/packages/emacs-xyz.scm diff --git a/radix/packages/emacs-xyz.scm b/radix/packages/emacs-xyz.scm new file mode 100644 index 0000000..0bcf98a --- /dev/null +++ b/radix/packages/emacs-xyz.scm @@ -0,0 +1,32 @@ +(define-module (radix packages emacs-xyz) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system emacs) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (gnu packages emacs-xyz)) + +(define-public emacs-lean4-mode + (let ((commit "da7b63d854d010d621e2c82a53d6ae2d94dd53b0") + (revision "0")) + (package + (name "emacs-lean4-mode") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/leanprover/lean4-mode/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1va1ini3cbsmdrbab17kiwbn2h6b0jc8lb3vabmmazsrq0hhk8sk")))) + (inputs (list emacs-flycheck + emacs-lsp-mode + emacs-magit)) + (build-system emacs-build-system) + (synopsis "Lean4 Emacs mode") + (description "Lean4 Emacs mode for the interactive proof assistant Lean4") + (home-page "https://github.com/leanprover/lean4-mode") + (license license:asl2.0)))) + +emacs-lean4-mode