2014-06-05 12:58:57 +02:00
|
|
|
{ stdenv, fetchurl, emacs, unzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
2014-09-05 15:18:24 +02:00
|
|
|
name = "scala-mode2-2014-07-01";
|
2014-06-05 12:58:57 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-05 15:18:24 +02:00
|
|
|
url = "https://github.com/hvesalai/scala-mode2/archive/c154f1623f4696d26e1c88d19170e67bf6825837.zip";
|
2015-06-16 20:22:55 +02:00
|
|
|
sha256 = "0im2ajb1iagjldh52j8wz4yby68rs3h7shrdf1pqy5ds7s4fa8cc";
|
2014-06-05 12:58:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip emacs ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share/emacs/site-lisp"
|
|
|
|
cp -v *.el *.elc "$out/share/emacs/site-lisp/"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/hvesalai/scala-mode2;
|
2014-06-05 12:58:57 +02:00
|
|
|
description = "An Emacs mode for editing Scala code";
|
|
|
|
license = "permissive";
|
|
|
|
};
|
|
|
|
}
|