summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2017-08-24 13:52:21 +0200
committerLudovic Courtès <ludo@gnu.org>2017-08-31 14:58:34 +0200
commit5883bb76f8117d0c7b5d83c537abbccccca7c80e (patch)
tree0e8e9cdefeb781bf9d3b74d0bf27f43704d6cd43
parentb9dcaced16b7c01dfd8bd14b75b8496a5930a902 (diff)
downloadguix-5883bb76f8117d0c7b5d83c537abbccccca7c80e.tar.gz
gnu: Add emacs-idris-mode.
* gnu/packages/emacs.scm (emacs-idris-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index cca910af44..3a4f9d327f 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5398,3 +5398,28 @@ bind @code{prop-menu-by-completing-read} to an appropriate
 key.  Optionally, a mouse pop-up can be added by binding
 @code{prop-menu-show-menu} to a mouse event.")
     (license license:gpl3+)))
+
+(define-public emacs-idris-mode
+  (package
+    (name "emacs-idris-mode")
+    (version "0.9.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://stable.melpa.org/packages/idris-mode-"
+             version ".tar"))
+       (sha256
+        (base32
+         "0ld4kfwnyyhlsnj5f6cbn4is4mpxdqalk2aifkw02r00mbr9n294"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-prop-menu" ,emacs-prop-menu)))
+    (home-page
+     "https://github.com/idris-hackers/idris-mode")
+    (synopsis "Major mode for editing Idris code")
+    (description
+     "This is an Emacs mode for editing Idris code.  It requires the latest
+version of Idris, and some features may rely on the latest Git version of
+Idris.")
+    (license license:gpl3+)))