gnu: Add emacs-terraform-mode.

* gnu/packages/emacs.scm (emacs-terraform-mode): New variable.
This commit is contained in:
Christopher Baines 2018-01-18 22:38:12 +00:00
parent dc97f7e20e
commit 68d70f6ae3
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 25 additions and 0 deletions

View File

@ -7336,3 +7336,28 @@ the pipeline, featuring the support for running @code{emacsclient}.")
@acronym{HCL, Hashicorp Configuration Language}. It provides syntax @acronym{HCL, Hashicorp Configuration Language}. It provides syntax
highlighting and indentation support.") highlighting and indentation support.")
(license license:gpl3+))) (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+)))