From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 10/10] gnu: Add emacs-web-mode. Date: Wed, 1 Jun 2016 10:05:38 -0400 Message-ID: <20160601140538.20311-10-dthompson2@worcester.edu> References: <20160601140538.20311-1-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b86n7-0007Qb-7b for guix-devel@gnu.org; Wed, 01 Jun 2016 10:06:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b86n4-0004hb-Vx for guix-devel@gnu.org; Wed, 01 Jun 2016 10:06:37 -0400 Received: from mail-qg0-x235.google.com ([2607:f8b0:400d:c04::235]:35984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b86n4-0004hP-RE for guix-devel@gnu.org; Wed, 01 Jun 2016 10:06:34 -0400 Received: by mail-qg0-x235.google.com with SMTP id q32so108279859qgq.3 for ; Wed, 01 Jun 2016 07:06:34 -0700 (PDT) In-Reply-To: <20160601140538.20311-1-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Thompson From: David Thompson * gnu/packages/emacs.scm (emacs-web-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 bfa46c4..95e6bea 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2000,3 +2000,26 @@ features were added by Marshall Vandegrift. As YAML and Python share the fact that indentation determines structure, this mode provides indentation and indentation command behavior very similar to that of python-mode.") (license license:gpl3+))) + +(define-public emacs-web-mode + (package + (name "emacs-web-mode") + (version "14") + (source (origin + (method url-fetch) + (uri (string-append "https://raw.githubusercontent.com/fxbois" + "/web-mode/v" version "/web-mode.el")) + (file-name (string-append "web-mode-" version ".el")) + (sha256 + (base32 + "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5")))) + (build-system emacs-build-system) + (synopsis "Major mode for editing web templates") + (description "Web-mode is an Emacs major mode for editing web templates +aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by +client/server side engines). Web-mode is compatible with many template +engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker, +Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template, +Dust.js, React/JSX, Angularjs, ejs, etc.") + (home-page "http://web-mode.org/") + (license license:gpl3+))) -- 2.8.3