2009-10-20 16:12:29 +01:00
|
|
|
{ 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 =
|
2012-01-18 20:16:00 +00:00
|
|
|
'' mkdir -p "$out/share/emacs/site-lisp"
|
2009-10-20 16:12:29 +01:00
|
|
|
cp -v *.el *.elc "$out/share/emacs/site-lisp"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An Emacs mode for editing Scala code";
|
|
|
|
|
2018-06-27 21:12:57 +01:00
|
|
|
homepage = https://www.scala-lang.org/node/354;
|
2009-10-20 16:12:29 +01:00
|
|
|
|
|
|
|
# non-copyleft, BSD-style
|
|
|
|
license = "permissive";
|
|
|
|
|
2013-08-16 22:44:33 +01:00
|
|
|
maintainers = [ ];
|
2009-10-20 16:12:29 +01:00
|
|
|
};
|
|
|
|
}
|