emacs-scala-mode: package version 2

This commit is contained in:
Peter Simons 2014-06-05 12:58:57 +02:00
parent 15f092d7a7
commit 1fc21bd6a9
3 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, emacs, unzip }:
stdenv.mkDerivation {
name = "scala-mode2-2014-06-05";
src = fetchurl {
url = "https://github.com/hvesalai/scala-mode2/archive/af2dc30226c890ff7d49d727450f8006b90781df.zip";
sha256 = "1jj08li9lfg5291jzj170wa3cmyf3g2a0j80cy5307l0mdawp9vx";
};
buildInputs = [ unzip emacs ];
installPhase = ''
mkdir -p "$out/share/emacs/site-lisp"
cp -v *.el *.elc "$out/share/emacs/site-lisp/"
'';
meta = {
homepage = "https://github.com/hvesalai/scala-mode2";
description = "An Emacs mode for editing Scala code";
license = "permissive";
};
}

View File

@ -8343,7 +8343,8 @@ let
rudel = callPackage ../applications/editors/emacs-modes/rudel { };
scalaMode = callPackage ../applications/editors/emacs-modes/scala-mode { };
scalaMode1 = callPackage ../applications/editors/emacs-modes/scala-mode/v1.nix { };
scalaMode2 = callPackage ../applications/editors/emacs-modes/scala-mode/v2.nix { };
sunriseCommander = callPackage ../applications/editors/emacs-modes/sunrise-commander { };