aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-01-21 23:07:33 +0100
committerLudovic Courtès <ludo@gnu.org>2019-01-21 23:10:07 +0100
commitf896abc71f7ed3de72df1c9af7477ee59737f768 (patch)
tree483fc134653c1f68cf0759aa194993e561f26c6b /gnu/packages/emacs-xyz.scm
parentf61e6e5238ff43b959c258ed92531029a1c82fa7 (diff)
downloadguix-f896abc71f7ed3de72df1c9af7477ee59737f768.tar
guix-f896abc71f7ed3de72df1c9af7477ee59737f768.tar.gz
gnu: emacs-nix-mode: Move to emacs-xyz.scm.
This removes emacs-xyz.scm from the closure of (gnu packages base). * gnu/packages/package-management.scm (emacs-nix-mode): Move back to... * gnu/packages/emacs-xyz.scm (emacs-nix-mode): ... here. New variable.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e90c3b3e29..cb84a87a95 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12867,3 +12867,27 @@ DBI, and provides DB-accessing API and the simple management UI.")
(description "This package is a convenience wrapper for @command{edbi}
to open SQLite databases.")
(license license:gpl3+))))
+
+(define-public emacs-nix-mode
+ (package
+ (name "emacs-nix-mode")
+ (version "1.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/NixOS/nix-mode/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06aqz0czznsj8835jqnk794sy2p6pa8kxfqwh0nl5d5vxivria6z"))))
+ (build-system emacs-build-system)
+ (inputs
+ `(("emacs-company" ,emacs-company)
+ ("emacs-mmm-mode" ,emacs-mmm-mode)))
+ (home-page "https://github.com/NixOS/nix-mode")
+ (synopsis "Emacs major mode for editing Nix expressions")
+ (description "@code{nixos-mode} provides an Emacs major mode for editing
+Nix expressions. It supports syntax highlighting, indenting and refilling of
+comments.")
+ (license license:lgpl2.1+)))