[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30698] [PATCH 2/2] gnu: Add emacs-terraform-mode.
From: |
Christopher Baines |
Subject: |
[bug#30698] [PATCH 2/2] gnu: Add emacs-terraform-mode. |
Date: |
Sun, 4 Mar 2018 16:50:51 +0000 |
---
gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0e46c71f1..da31f7a13 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7336,3 +7336,27 @@ 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
+Terraform. Most of the functionality is inherited from @code{hcl-mode}.")
+ (license license:gpl3+)))
--
2.16.1