all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#28060] [PATCH] gnu: Add emacs-nixos-mode.
@ 2017-08-12  7:02 Oleg Pykhalov
  2017-08-12 15:06 ` Arun Isaac
  0 siblings, 1 reply; 10+ messages in thread
From: Oleg Pykhalov @ 2017-08-12  7:02 UTC (permalink / raw)
  To: 28060

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH] gnu: Add emacs-nixos-mode. --]
[-- Type: text/x-patch, Size: 1638 bytes --]

From 90ef6b8f1bf57820db95d7daf17f7e0fae303356 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-08-13  7:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-12  7:02 [bug#28060] [PATCH] gnu: Add emacs-nixos-mode Oleg Pykhalov
2017-08-12 15:06 ` Arun Isaac
2017-08-12 16:46   ` ng0
2017-08-12 17:14     ` Oleg Pykhalov
2017-08-12 17:52       ` ng0
2017-08-12 17:53       ` ng0
2017-08-12 18:32         ` Oleg Pykhalov
2017-08-12 18:39           ` Oleg Pykhalov
2017-08-13  7:54             ` bug#28060: " Arun Isaac
2017-08-12 16:56   ` [bug#28060] " Oleg Pykhalov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.