From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH] gnu: Add emacs-lua-mode. Date: Thu, 20 Oct 2016 12:49:08 -0400 Message-ID: <20161020164908.5162-1-davet@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxGX5-0001PT-FM for guix-devel@gnu.org; Thu, 20 Oct 2016 12:49:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxGX2-0003UV-E7 for guix-devel@gnu.org; Thu, 20 Oct 2016 12:49:31 -0400 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:36546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxGX2-0003U8-9I for guix-devel@gnu.org; Thu, 20 Oct 2016 12:49:28 -0400 Received: by mail-qk0-x241.google.com with SMTP id z190so5002755qkc.3 for ; Thu, 20 Oct 2016 09:49:27 -0700 (PDT) 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 * gnu/packages/emacs.scm (emacs-lua-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 6e9c181..fbde046 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -3252,3 +3252,24 @@ This package contains the library runtime.") (description "This package provides an Emacs major mode for editing nginx config files.") (license license:gpl2+))) + +(define-public emacs-lua-mode + (package + (name "emacs-lua-mode") + (version "20151025") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/immerrr/lua-mode/archive/" + version ".tar.gz")) + (sha256 + (base32 + "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system emacs-build-system) + (home-page "http://immerrr.github.com/lua-mode") + (synopsis "Major mode for editing Lua source code") + (description "Lua-mode provides support for editing Lua, including automatic +indentation, syntactical font-locking, running interactive shell, interacting +with hs-minor-mode and online documentation lookup.") + (license license:gpl3+))) -- 2.8.3