Subject: emacs-jinja2-mode

From: ng0 <[email-masked]>
Date: Sun, 24 Sep 2017 16:09:00 +0000

Upstream seems to be on hiatus for a long time, but
at its core the mode still does what it should do.
I'm attempting to merge the open pull requests with
the version of it I have created and publish it as
a variant.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://www.krosos.org
From 531540f0a46447849db8e993332d763ff0a4ba07 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
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.
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6cc4cfffb..1cf6810e7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2523,6 +2523,27 @@ insertion mode.  When enabled all keys are implicitly prefixed with
 @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")
-- 
2.14.1