emacs-monky: add an Mercurial mode that's inspired by Magit

This commit is contained in:
Peter Simons 2015-06-12 10:32:36 +02:00
parent 1746140184
commit 214aae46c7
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ stdenv, fetchurl, emacs, unzip }:
stdenv.mkDerivation {
name = "emacs-monky-20150404";
src = fetchurl {
url = "https://github.com/ananthakumaran/monky/archive/48c0200910739b6521f26f6423b2bfb8c38b4482.zip";
sha256 = "0yp3pzddx7yki9n3qrriqa5p442qyrdivvlc4xbl024vzjyzddrj";
};
buildInputs = [ emacs unzip ];
buildPhase = "emacs -L . --batch -f batch-byte-compile *.el";
installPhase = ''
install -d $out/share/emacs/site-lisp
install *.el *.elc $out/share/emacs/site-lisp
'';
}

View File

@ -10934,6 +10934,8 @@ let
metaweblog = callPackage ../applications/editors/emacs-modes/metaweblog { }; metaweblog = callPackage ../applications/editors/emacs-modes/metaweblog { };
monky = callPackage ../applications/editors/emacs-modes/monky { };
notmuch = lowPrio (pkgs.notmuch.override { inherit emacs; }); notmuch = lowPrio (pkgs.notmuch.override { inherit emacs; });
ocamlMode = callPackage ../applications/editors/emacs-modes/ocaml { }; ocamlMode = callPackage ../applications/editors/emacs-modes/ocaml { };