From dc97f7e20e880f594cf2c9a16b4a1859469b9df5 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 18 Jan 2018 22:37:59 +0000 Subject: [PATCH] gnu: Add emacs-hcl-mode. * gnu/packages/emacs.scm (emacs-hcl-mode): New variable. --- gnu/packages/emacs.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 69950cc6d7..646aee7ba4 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7313,3 +7313,26 @@ (define-public epipe (description "@code{epipe} provides an utility to use your editor in the pipeline, featuring the support for running @code{emacsclient}.") (license license:gpl3+))) + +(define-public emacs-hcl-mode + (package + (name "emacs-hcl-mode") + (version "0.03") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/syohex/emacs-hcl-mode/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pvw74qpwh0znqzp6syp4wxjqs7dp1hbn5h7xfk97mff9l5d8k6x")))) + (build-system emacs-build-system) + (home-page "https://github.com/syohex/emacs-hcl-mode") + (synopsis "Major mode for the Hashicorp Configuration Language") + (description + "@code{emacs-hcl-mode} provides an Emacs major mode for working with +@acronym{HCL, Hashicorp Configuration Language}. It provides syntax +highlighting and indentation support.") + (license license:gpl3+)))