From 8fc559dcc5125c6d71544ea34b6c67edb4ed744e Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 24 Sep 2017 16:06:23 +0000 Subject: [PATCH] gnu: Add emacs-jinja2-mode. * gnu/packages/emacs.scm (emacs-jinja2-mode): New variable. Signed-off-by: Alex Kost --- gnu/packages/emacs.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ebe099c689..ac31891381 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2569,6 +2569,27 @@ (define-public emacs-god-mode @samp{C-} (among other helpful shortcuts).") (license license:gpl3+)))) +(define-public emacs-jinja2-mode + (package + (name "emacs-jinja2-mode") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/paradoxxxzero/jinja2-mode/" + "archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cgxjab1kla2zc2fj7bzib6i7snp08zshandmp9kqcm85l262xpn")))) + (build-system emacs-build-system) + (home-page "https://github.com/paradoxxxzero/jinja2-mode") + (synopsis "Major mode for jinja2") + (description + "Emacs major mode for jinja2 with: syntax highlighting, +sgml/html integration, and indentation (working with sgml).") + (license license:gpl3+))) + (define-public emacs-rfcview (package (name "emacs-rfcview")