3
0
Fork 0
forked from mirrors/nixpkgs

emacs-ensime: add current git snapshot

This commit is contained in:
Peter Simons 2014-09-05 16:06:05 +02:00
parent e8bff6f838
commit 7f5bc10186
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, fetchurl, emacs, unzip, autoComplete, dash, s }:
stdenv.mkDerivation {
name = "emacs-ensime-2014-09-04";
src = fetchurl {
url = "https://github.com/ensime/ensime-emacs/archive/d3820a3f362975f6e14b817988ec07bfef2b4dad.zip";
sha256 = "0gwr0r92z2hh2x8g0hpxaar2vvfk1b91cp6v04gaasw0fvl5i7g5";
};
buildInputs = [ emacs unzip ];
propagatedUserEnvPkgs = [ autoComplete dash s ];
buildPhase = ''
emacs -L . -L ${autoComplete}/share/emacs/site-lisp --batch -f batch-byte-compile *.el
'';
installPhase = ''
install -d $out/share/emacs/site-lisp
install *.el *.elc $out/share/emacs/site-lisp
'';
}

View file

@ -8653,6 +8653,8 @@ let
emms = callPackage ../applications/editors/emacs-modes/emms { };
ensime = callPackage ../applications/editors/emacs-modes/ensime { };
ess = callPackage ../applications/editors/emacs-modes/ess { };
flymakeCursor = callPackage ../applications/editors/emacs-modes/flymake-cursor { };