2015-09-07 20:48:06 +01:00
|
|
|
{ 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 */
|
|
|
|
|
2015-09-14 18:29:35 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-07 20:48:06 +01:00
|
|
|
homepage = "http://github.com/erlang/otp";
|
|
|
|
description = "Erlang mode for Emacs";
|
2015-09-15 10:02:09 +01:00
|
|
|
license = licenses.asl20;
|
2015-09-14 18:29:35 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.samuelrivas ];
|
2015-09-07 20:48:06 +01:00
|
|
|
};
|
|
|
|
}
|