emacs-scala-mode: package version 2
This commit is contained in:
parent
15f092d7a7
commit
1fc21bd6a9
24
pkgs/applications/editors/emacs-modes/scala-mode/v2.nix
Normal file
24
pkgs/applications/editors/emacs-modes/scala-mode/v2.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user