[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30698] [PATCH 2/2] gnu: Add emacs-terraform-mode.
From: |
Alex Kost |
Subject: |
[bug#30698] [PATCH 2/2] gnu: Add emacs-terraform-mode. |
Date: |
Sun, 04 Mar 2018 23:21:12 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Christopher Baines (2018-03-04 16:50 +0000) wrote:
> ---
> 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}.")
Maybe it would be good to clarify what Terraform is in the description,
for example:
"... working with @uref{https://www.terraform.io/, Terraform}
configuration files."
> + (license license:gpl3+)))
--
Alex