summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-01-18 22:38:12 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-05 07:48:49 +0000
commit68d70f6ae31865bba73a655e212f1cdf999d6225 (patch)
treed647aee50b038e47b888aa69077de8b06eee5dde
parentdc97f7e20e880f594cf2c9a16b4a1859469b9df5 (diff)
downloadguix-68d70f6ae31865bba73a655e212f1cdf999d6225.tar.gz
gnu: Add emacs-terraform-mode.
* gnu/packages/emacs.scm (emacs-terraform-mode): New variable.
-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 646aee7ba4..54eb816c15 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7336,3 +7336,28 @@ the pipeline, featuring the support for running @code{emacsclient}.")
 @acronym{HCL, Hashicorp Configuration Language}.  It provides syntax
 highlighting and indentation support.")
     (license license:gpl3+)))
+
+(define-public emacs-terraform-mode
+  (package
+    (name "emacs-terraform-mode")
+    (version "0.06")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/syohex/emacs-terraform-mode/archive/"
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0h9267ifdjmcin4sj8slxydbacx4bqicbvg8pa1qq2l72h9m5381"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-hcl-mode" ,emacs-hcl-mode)))
+    (home-page "https://github.com/syohex/emacs-terraform-mode")
+    (synopsis "Major mode for Terraform")
+    (description
+     "@code{emacs-terraform-mode} provides a major mode for working with
+@uref{https://www.terraform.io/, Terraform} configuration files.  Most of the
+functionality is inherited from @code{hcl-mode}.")
+    (license license:gpl3+)))