emacs-packages: Remove scala-mode from old emacs package infrastructure

This commit is contained in:
adisbladis 2019-08-18 17:02:44 +01:00
parent 63819cdbe7
commit af26fea60e
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7
2 changed files with 0 additions and 54 deletions

View File

@ -1,30 +0,0 @@
{ 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 =
'' mkdir -p "$out/share/emacs/site-lisp"
cp -v *.el *.elc "$out/share/emacs/site-lisp"
'';
meta = {
description = "An Emacs mode for editing Scala code";
homepage = https://www.scala-lang.org/node/354;
# non-copyleft, BSD-style
license = "permissive";
maintainers = [ ];
};
}

View File

@ -1,24 +0,0 @@
{ stdenv, fetchurl, emacs, unzip }:
stdenv.mkDerivation {
name = "scala-mode2-2014-07-01";
src = fetchurl {
url = "https://github.com/hvesalai/scala-mode2/archive/c154f1623f4696d26e1c88d19170e67bf6825837.zip";
sha256 = "0im2ajb1iagjldh52j8wz4yby68rs3h7shrdf1pqy5ds7s4fa8cc";
};
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";
};
}