aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorBrett Gilio <brettg@gnu.org>2020-01-11 16:10:32 -0600
committerBrett Gilio <brettg@gnu.org>2020-01-11 16:10:32 -0600
commit6b9839e29a7939cc9ada3f44d9d8863de720f5b4 (patch)
tree0cc1708bc1f0ce68e07abf0b5ddb1b1205b2e3cd /gnu/packages/emacs-xyz.scm
parent6fedf6f2b9174c861ed435694ce9520b164e152d (diff)
downloadguix-6b9839e29a7939cc9ada3f44d9d8863de720f5b4.tar
guix-6b9839e29a7939cc9ada3f44d9d8863de720f5b4.tar.gz
gnu: Add emacs-metal-mercury-mode.
* gnu/packages/emacs-xyz.scm (emacs-metal-mercury-mode): New variable.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8b38a28cb2..0559f0c7cc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21008,3 +21008,30 @@ pattern. Searching starts with minimal 3 characters entered.
pattern guessed from thing under current cursor position.
@end itemize\n")
(license license:gpl3+))))
+
+(define-public emacs-metal-mercury-mode
+ (let ((commit "99e2d8fb7177cae3bfa2dec2910fc28216d5f5a8")
+ (revision "1")
+ (version "0.0.0"))
+ (package
+ (name "emacs-metal-mercury-mode")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ahungry/metal-mercury-mode.git")
+ (commit commit)))
+ (sha256
+ (base32
+ "0iil5k3rgifz2vqwsy12rbv5rzyvidq4sgwazsb2hzys8xynmfn5"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)))
+ (synopsis "Major mode for editing Mercury files")
+ (description
+ "Major mode for editing Mercury files. This is a rewrite of the original
+mercury-mode provided by Emacs as a wrapper around prolog-mode.")
+ (home-page "https://github.com/ahungry/metal-mercury-mode")
+ (license license:gpl3+))))