mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
26 lines
536 B
Nix
26 lines
536 B
Nix
{ 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 = with stdenv.lib; {
|
|
homepage = "http://github.com/erlang/otp";
|
|
description = "Erlang mode for Emacs";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.samuelrivas ];
|
|
};
|
|
}
|