mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #9699 from samuelrivas/emacs-erlang-mode
Add erlang-mode for emacs
This commit is contained in:
commit
54bcc4e446
25
pkgs/applications/editors/emacs-modes/erlang/default.nix
Normal file
25
pkgs/applications/editors/emacs-modes/erlang/default.nix
Normal 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>" ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user