From 68d70f6ae31865bba73a655e212f1cdf999d6225 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 18 Jan 2018 22:38:12 +0000 Subject: gnu: Add emacs-terraform-mode. * gnu/packages/emacs.scm (emacs-terraform-mode): New variable. --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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+))) -- cgit 1.4.1