Add Emacs Scala-Mode.

svn path=/nixpkgs/trunk/; revision=17904
This commit is contained in:
Ludovic Courtès 2009-10-20 15:12:29 +00:00
parent 4cf582c570
commit be6b6b73f9
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ fetchsvn, stdenv, emacs }:
let revision = "17339"; in
stdenv.mkDerivation rec {
name = "scala-mode-r${revision}";
src = fetchsvn {
url = "http://lampsvn.epfl.ch/svn-repos/scala/scala-tool-support/trunk/src/emacs";
rev = revision;
sha256 = "05g3xk2mxkqwdnyvxklnrdyhppkvhfs2fd21blhzbhf474cgqlyh";
};
buildInputs = [ emacs ];
installPhase =
'' ensureDir "$out/share/emacs/site-lisp"
cp -v *.el *.elc "$out/share/emacs/site-lisp"
'';
meta = {
description = "An Emacs mode for editing Scala code";
homepage = http://www.scala-lang.org/node/354;
# non-copyleft, BSD-style
license = "permissive";
maintainers = [ stdenv.lib.maintainers.ludo ];
};
}

View File

@ -6878,6 +6878,10 @@ let
remember = import ../applications/editors/emacs-modes/remember {
inherit fetchurl stdenv texinfo emacs bbdb;
};
scalaMode = import ../applications/editors/emacs-modes/scala-mode {
inherit fetchsvn stdenv emacs;
};
});
emacs22Packages = emacsPackages emacs22;