From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgQRv-0007wa-Ip for guix-patches@gnu.org; Sat, 12 Aug 2017 03:03:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgQRq-0006Iy-RK for guix-patches@gnu.org; Sat, 12 Aug 2017 03:03:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgQRq-0006Iu-Np for guix-patches@gnu.org; Sat, 12 Aug 2017 03:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgQRq-0001R1-F4 for guix-patches@gnu.org; Sat, 12 Aug 2017 03:03:02 -0400 Subject: [bug#28060] [PATCH] gnu: Add emacs-nixos-mode. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgQRe-0007u0-7a for guix-patches@gnu.org; Sat, 12 Aug 2017 03:02:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgQRZ-0006Dk-I7 for guix-patches@gnu.org; Sat, 12 Aug 2017 03:02:50 -0400 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:35267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgQRZ-0006DO-Af for guix-patches@gnu.org; Sat, 12 Aug 2017 03:02:45 -0400 Received: by mail-lf0-x236.google.com with SMTP id t128so23679275lff.2 for ; Sat, 12 Aug 2017 00:02:45 -0700 (PDT) Received: from magnolia (92-100-137-67.dynamic.avangarddsl.ru. [92.100.137.67]) by smtp.gmail.com with ESMTPSA id 2sm363353ljo.10.2017.08.12.00.02.42 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Aug 2017 00:02:42 -0700 (PDT) From: Oleg Pykhalov Date: Sat, 12 Aug 2017 10:02:42 +0300 Message-ID: <87shgx2rql.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-emacs-nixos-mode.patch Content-Description: [PATCH] gnu: Add emacs-nixos-mode. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28060@debbugs.gnu.org >From 90ef6b8f1bf57820db95d7daf17f7e0fae303356 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 12 Aug 2017 09:48:53 +0300 Subject: [PATCH] gnu: Add emacs-nixos-mode. * gnu/packages/emacs.scm (emacs-nixos-mode): New variable. --- gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index bb5d2349f..adf1ef167 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -5331,3 +5331,29 @@ enables you to easily define search engines, bind them to keybindings, and query them from the comfort of your editor.") (home-page "https://github.com/hrs/engine-mode") (license license:gpl3+))) + +(define-public emacs-nixos-mode + (package + (name "emacs-nixos-mode") + (version "1.11.13") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/NixOS/nix/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12110drl51r9bi45ql865jwvax1gladb5hfpwk0vi5bjybns6c9b")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir-elisp + (lambda _ + (chdir "misc/emacs")))))) + (synopsis "Emacs major mode for editing Nix expressions") + (description "@code{nixos-mode} provides an Emacs major mode for editing +Nix expressions.") + (home-page "https://github.com/NixOS/nix") + (license license:gpl3+))) -- 2.14.1