Merge pull request #9699 from samuelrivas/emacs-erlang-mode

Add erlang-mode for emacs
This commit is contained in:
Arseniy Seroka 2015-09-08 00:00:33 +03:00
commit 54bcc4e446
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, erlang }:
stdenv.mkDerivation {
name = "erlang-mode-${erlang.version}";
buildInputs = [ ];
inherit erlang;
buildCommand = ''
mkdir -p "$out/share/emacs/site-lisp"
cp "$erlang/lib/erlang/lib/tools"*/emacs/*.el $out/share/emacs/site-lisp/
'';
# emacs highlighting */
meta = {
homepage = "http://github.com/erlang/otp";
description = "Erlang mode for Emacs";
licence = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
maintainers = [ "Samuel Rivas <samuelrivas@gmail.com>" ];
};
}

View File

@ -11229,6 +11229,8 @@ let
ensime = callPackage ../applications/editors/emacs-modes/ensime { };
erlangMode = callPackage ../applications/editors/emacs-modes/erlang { };
ess = callPackage ../applications/editors/emacs-modes/ess { };
flycheck = callPackage ../applications/editors/emacs-modes/flycheck { };