2015-07-27 20:49:52 +01:00
|
|
|
{ stdenv, fetchurl, fetchzip, unzip }:
|
2015-07-26 09:38:04 +01:00
|
|
|
|
2015-07-30 22:27:57 +01:00
|
|
|
rec {
|
2015-07-26 09:38:04 +01:00
|
|
|
|
2015-08-01 09:43:58 +01:00
|
|
|
# A primitive builder of Eclipse plugins. This function is intended
|
|
|
|
# to be used when building more advanced builders.
|
2015-07-29 22:29:38 +01:00
|
|
|
buildEclipsePluginBase = { name
|
|
|
|
, buildInputs ? []
|
|
|
|
, passthru ? {}
|
|
|
|
, ... } @ attrs:
|
|
|
|
stdenv.mkDerivation (attrs // {
|
2015-08-26 21:50:03 +01:00
|
|
|
name = "eclipse-plugin-" + name;
|
2015-07-29 22:29:38 +01:00
|
|
|
|
|
|
|
buildInputs = buildInputs ++ [ unzip ];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
isEclipsePlugin = true;
|
|
|
|
} // passthru;
|
|
|
|
});
|
|
|
|
|
2015-07-26 09:38:04 +01:00
|
|
|
# Helper for the common case where we have separate feature and
|
|
|
|
# plugin JARs.
|
2018-01-18 19:07:47 +00:00
|
|
|
buildEclipsePlugin =
|
|
|
|
{ name, srcFeature, srcPlugin ? null, srcPlugins ? [], ... } @ attrs:
|
|
|
|
assert srcPlugin == null -> srcPlugins != [];
|
|
|
|
assert srcPlugin != null -> srcPlugins == [];
|
2015-07-26 09:38:04 +01:00
|
|
|
|
2018-01-18 19:07:47 +00:00
|
|
|
let
|
2015-07-29 22:29:38 +01:00
|
|
|
|
2018-01-18 19:07:47 +00:00
|
|
|
pSrcs = if (srcPlugin != null) then [ srcPlugin ] else srcPlugins;
|
2015-07-26 09:38:04 +01:00
|
|
|
|
2018-01-18 19:07:47 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
buildEclipsePluginBase (attrs // {
|
|
|
|
srcs = [ srcFeature ] ++ pSrcs;
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
dropinDir="$out/eclipse/dropins/${name}"
|
|
|
|
|
|
|
|
mkdir -p $dropinDir/features
|
|
|
|
unzip ${srcFeature} -d $dropinDir/features/
|
|
|
|
|
|
|
|
mkdir -p $dropinDir/plugins
|
|
|
|
for plugin in ${toString pSrcs}; do
|
|
|
|
cp -v $plugin $dropinDir/plugins/$(stripHash $plugin)
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
});
|
2015-07-27 20:49:52 +01:00
|
|
|
|
2015-08-01 09:43:58 +01:00
|
|
|
# Helper for the case where the build directory has the layout of an
|
|
|
|
# Eclipse update site, that is, it contains the directories
|
|
|
|
# `features` and `plugins`. All features and plugins inside these
|
|
|
|
# directories will be installed.
|
|
|
|
buildEclipseUpdateSite = { name, ... } @ attrs:
|
|
|
|
buildEclipsePluginBase (attrs // {
|
2017-11-08 12:42:51 +00:00
|
|
|
dontBuild = true;
|
|
|
|
doCheck = false;
|
2015-07-27 20:49:52 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
dropinDir="$out/eclipse/dropins/${name}"
|
|
|
|
|
2015-08-01 14:16:17 +01:00
|
|
|
# Install features.
|
2015-07-27 20:49:52 +01:00
|
|
|
cd features
|
|
|
|
for feature in *.jar; do
|
2015-08-01 14:16:17 +01:00
|
|
|
featureName=''${feature%.jar}
|
|
|
|
mkdir -p $dropinDir/features/$featureName
|
|
|
|
unzip $feature -d $dropinDir/features/$featureName
|
2015-07-27 20:49:52 +01:00
|
|
|
done
|
|
|
|
cd ..
|
|
|
|
|
2015-08-01 14:16:17 +01:00
|
|
|
# Install plugins.
|
2015-07-27 20:49:52 +01:00
|
|
|
mkdir -p $dropinDir/plugins
|
2015-08-01 14:16:17 +01:00
|
|
|
|
|
|
|
# A bundle should be unpacked if the manifest matches this
|
|
|
|
# pattern.
|
|
|
|
unpackPat="Eclipse-BundleShape:\\s*dir"
|
|
|
|
|
|
|
|
cd plugins
|
|
|
|
for plugin in *.jar ; do
|
|
|
|
pluginName=''${plugin%.jar}
|
|
|
|
manifest=$(unzip -p $plugin META-INF/MANIFEST.MF)
|
|
|
|
|
|
|
|
if [[ $manifest =~ $unpackPat ]] ; then
|
|
|
|
mkdir $dropinDir/plugins/$pluginName
|
|
|
|
unzip $plugin -d $dropinDir/plugins/$pluginName
|
|
|
|
else
|
|
|
|
cp -v $plugin $dropinDir/plugins/
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
cd ..
|
2015-07-27 20:49:52 +01:00
|
|
|
'';
|
2015-08-01 09:43:58 +01:00
|
|
|
});
|
2015-07-27 20:49:52 +01:00
|
|
|
|
2015-07-30 22:31:57 +01:00
|
|
|
acejump = buildEclipsePlugin rec {
|
|
|
|
name = "acejump-${version}";
|
2016-11-09 17:05:11 +00:00
|
|
|
version = "1.0.0.201610261941";
|
2015-07-30 22:31:57 +01:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "https://tobiasmelcher.github.io/acejumpeclipse/features/acejump.feature_${version}.jar";
|
2016-11-09 17:05:11 +00:00
|
|
|
sha256 = "1szswjxp9g70ibfbv3p8dlq1bngq7nc22kp657z9i9kp8309md2d";
|
2015-07-30 22:31:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "https://tobiasmelcher.github.io/acejumpeclipse/plugins/acejump_${version}.jar";
|
2016-11-09 17:05:11 +00:00
|
|
|
sha256 = "1cn64xj2bm69vnn9db2xxh6kq148v83w5nx3183mrqb59ym3v9kf";
|
2015-07-30 22:31:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/tobiasmelcher/EclipseAceJump;
|
|
|
|
description = "Provides fast jumps to text based on initial letter";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-17 19:50:47 +00:00
|
|
|
ansi-econsole = buildEclipsePlugin rec {
|
|
|
|
name = "ansi-econsole-${version}";
|
|
|
|
version = "1.3.5.201612301822";
|
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "https://mihnita.github.io/ansi-econsole/install/features/net.mihai-nita.ansicon_${version}.jar";
|
|
|
|
sha256 = "086ylxpsrlpbvwv5mw7v6b44j63cwzgi8apg2mq058ydr5ak6hxs";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
|
|
|
url = "https://mihnita.github.io/ansi-econsole/install/plugins/net.mihai-nita.ansicon.plugin_${version}.jar";
|
|
|
|
sha256 = "1j42l0xxzs89shqkyn91lb0gia10mifzy0i73c3n7gj7sv2ddbjq";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://mihai-nita.net/java/#ePluginAEC";
|
|
|
|
description = "Adds support for ANSI escape sequences in the Eclipse console";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-18 19:08:31 +00:00
|
|
|
antlr-runtime_4_5 = buildEclipsePluginBase rec {
|
|
|
|
name = "antlr-runtime-4.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.antlr.org/download/${name}.jar";
|
|
|
|
sha256 = "0lm78i2annlczlc2cg5xvby0g1dyl0sh1y5xc2pymjlmr67a1g4k";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
dropinDir="$out/eclipse/dropins/"
|
|
|
|
mkdir -p $dropinDir
|
|
|
|
cp -v $src $dropinDir/${name}.jar
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A powerful parser generator for processing structured text or binary files";
|
|
|
|
homepage = http://www.antlr.org/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-26 09:38:04 +01:00
|
|
|
anyedittools = buildEclipsePlugin rec {
|
|
|
|
name = "anyedit-${version}";
|
2017-10-31 22:37:47 +00:00
|
|
|
version = "2.7.1.201709201439";
|
2015-07-26 09:38:04 +01:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "http://andrei.gmxhome.de/eclipse/features/AnyEditTools_${version}.jar";
|
2017-10-31 22:37:47 +00:00
|
|
|
sha256 = "1wqzl7wq85m9gil8rnvly45ps0a2m0svw613pg6djs5i7amhnayh";
|
2015-07-26 09:38:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
2017-10-31 22:37:47 +00:00
|
|
|
url = "https://github.com/iloveeclipse/anyedittools/releases/download/2.7.1/de.loskutov.anyedit.AnyEditTools_${version}.jar";
|
|
|
|
sha256 = "03iyb6j2srq74iigmg7dk098c2svyv0ygdfql5jqr44a32n07k8q";
|
2015-07-26 09:38:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://andrei.gmxhome.de/anyedit/;
|
|
|
|
description = "Adds new tools to the context menu of text-based editors";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
2017-05-11 13:34:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
autodetect-encoding = buildEclipsePlugin rec {
|
|
|
|
name = "autodetect-encoding-${version}";
|
2017-08-13 22:52:34 +01:00
|
|
|
version = "1.8.4.201708052053";
|
2017-05-11 13:34:46 +01:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "https://cypher256.github.io/eclipse-encoding-plugin/features/eclipse.encoding.plugin.feature_${version}.jar";
|
2017-08-13 22:52:34 +01:00
|
|
|
sha256 = "1gbvib5dd75pp5mr17ckj2y66gnxjvpc067im5nsl9fyljdw867c";
|
2017-05-11 13:34:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
|
|
|
url = "https://cypher256.github.io/eclipse-encoding-plugin/plugins/mergedoc.encoding_${version}.jar";
|
2017-08-13 22:52:34 +01:00
|
|
|
sha256 = "0728zsbfs1mc4qvx2p92hkxpnknckqk0xvqlmzivsnr62b5qd5im";
|
2017-05-11 13:34:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/cypher256/eclipse-encoding-plugin;
|
|
|
|
description = "Show file encoding and line ending for the active editor in the eclipse status bar";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
2015-07-26 09:38:04 +01:00
|
|
|
};
|
|
|
|
|
2015-09-15 19:55:11 +01:00
|
|
|
bytecode-outline = buildEclipsePlugin rec {
|
|
|
|
name = "bytecode-outline-${version}";
|
2017-11-07 20:48:15 +00:00
|
|
|
version = "2.5.0.201711011753-5a57fdf";
|
2015-09-15 19:55:11 +01:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "http://andrei.gmxhome.de/eclipse/features/de.loskutov.BytecodeOutline.feature_${version}.jar";
|
2017-11-07 20:48:15 +00:00
|
|
|
sha256 = "0yciqhcq0n5i326mwy57r4ywmkz2c2jky7r4pcmznmhvks3z65ps";
|
2015-09-15 19:55:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
|
|
|
url = "http://dl.bintray.com/iloveeclipse/plugins/de.loskutov.BytecodeOutline_${version}.jar";
|
2017-11-07 20:48:15 +00:00
|
|
|
sha256 = "1vmsqv32jfl7anvdkw0vir342miv5sr9df7vd1w44lf1yf97vxlw";
|
2015-09-15 19:55:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://andrei.gmxhome.de/bytecode/;
|
|
|
|
description = "Shows disassembled bytecode of current java editor or class file";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-08-12 22:07:13 +01:00
|
|
|
cdt = buildEclipseUpdateSite rec {
|
|
|
|
name = "cdt-${version}";
|
2016-09-08 11:33:34 +01:00
|
|
|
version = "9.0.1";
|
2015-08-12 22:07:13 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
2016-09-08 11:33:34 +01:00
|
|
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.0/${name}.zip";
|
|
|
|
sha256 = "0vdx0j9ci533wnk7y17qjvjyqx38hlrdw67z6pi05vfv3r6ys39x";
|
2015-08-12 22:07:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://eclipse.org/cdt/;
|
|
|
|
description = "C/C++ development tooling";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-27 20:49:52 +01:00
|
|
|
checkstyle = buildEclipseUpdateSite rec {
|
|
|
|
name = "checkstyle-${version}";
|
2018-01-14 19:45:43 +00:00
|
|
|
version = "8.7.0.201801131309";
|
2015-07-27 20:49:52 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
2018-01-14 19:45:43 +00:00
|
|
|
url = "mirror://sourceforge/project/eclipse-cs/Eclipse%20Checkstyle%20Plug-in/8.7.0/net.sf.eclipsecs-updatesite_${version}.zip";
|
|
|
|
sha256 = "07fymk705x4mwq7vh2i6frsf67jql4bzrkdzhb4n74zb0g1dib60";
|
2015-07-27 20:49:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://eclipse-cs.sourceforge.net/;
|
|
|
|
description = "Checkstyle integration into the Eclipse IDE";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2015-07-26 20:04:32 +01:00
|
|
|
color-theme = buildEclipsePlugin rec {
|
|
|
|
name = "color-theme-${version}";
|
|
|
|
version = "1.0.0.201410260308";
|
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "https://eclipse-color-theme.github.io/update/features/com.github.eclipsecolortheme.feature_${version}.jar";
|
2015-07-26 20:04:32 +01:00
|
|
|
sha256 = "128b9b1cib5ff0w1114ns5mrbrhj2kcm358l4dpnma1s8gklm8g2";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "https://eclipse-color-theme.github.io/update/plugins/com.github.eclipsecolortheme_${version}.jar";
|
2015-07-26 20:04:32 +01:00
|
|
|
sha256 = "0wz61909bhqwzpqwll27ia0cn3anyp81haqx3rj1iq42cbl42h0y";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://eclipsecolorthemes.org/;
|
|
|
|
description = "Plugin to switch color themes conveniently and without side effects";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-28 19:21:29 +00:00
|
|
|
cup = buildEclipsePluginBase rec {
|
|
|
|
name = "cup-${version}";
|
2016-04-29 10:31:15 +01:00
|
|
|
version = "1.1.0.201604221613";
|
|
|
|
version_ = "1.0.0.201604221613";
|
2016-01-28 19:21:29 +00:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "http://www2.in.tum.de/projects/cup/eclipse/features/CupEclipsePluginFeature_${version}.jar";
|
2016-04-29 10:31:15 +01:00
|
|
|
sha256 = "13nnsf0cqg02z3af6xg45rhcgiffsibxbx6h1zahjv7igvqgkyna";
|
2016-01-28 19:21:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin1 = fetchurl {
|
2016-04-29 10:31:15 +01:00
|
|
|
url = "http://www2.in.tum.de/projects/cup/eclipse/plugins/CupReferencedLibraries_${version_}.jar";
|
|
|
|
sha256 = "0kif8kivrysprva1pxzajm88gi967qf7idhb6ga2xpvsdcris91j";
|
2016-01-28 19:21:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin2 = fetchurl {
|
|
|
|
url = "http://www2.in.tum.de/projects/cup/eclipse/plugins/de.tum.in.www2.CupPlugin_${version}.jar";
|
2016-04-29 10:31:15 +01:00
|
|
|
sha256 = "022phbrsny3gb8npb6sxyqqxacx138q5bd7dq3gqxh3kprx5chbl";
|
2016-01-28 19:21:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
srcs = [ srcFeature srcPlugin1 srcPlugin2 ];
|
|
|
|
|
2016-02-26 09:36:14 +00:00
|
|
|
propagatedBuildInputs = [ zest ];
|
|
|
|
|
2016-01-28 19:21:29 +00:00
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
dropinDir="$out/eclipse/dropins/${name}"
|
|
|
|
mkdir -p $dropinDir/features
|
|
|
|
unzip ${srcFeature} -d $dropinDir/features/
|
|
|
|
mkdir -p $dropinDir/plugins
|
2016-02-21 15:20:10 +00:00
|
|
|
cp -v ${srcPlugin1} $dropinDir/plugins/''${srcPlugin1#*-}
|
|
|
|
cp -v ${srcPlugin2} $dropinDir/plugins/''${srcPlugin2#*-}
|
2016-01-28 19:21:29 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www2.cs.tum.edu/projects/cup/eclipse.php;
|
|
|
|
description = "IDE for developing CUP based parsers";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-27 21:38:25 +01:00
|
|
|
eclemma = buildEclipseUpdateSite rec {
|
|
|
|
name = "eclemma-${version}";
|
|
|
|
version = "2.3.2.201409141915";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
|
|
|
url = "mirror://sourceforge/project/eclemma/01_EclEmma_Releases/2.3.2/eclemma-2.3.2.zip";
|
|
|
|
sha256 = "0w1kwcjh45p7msv5vpc8i6dsqwrnfmjama6vavpnxlji56jd3c43";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.eclemma.org/;
|
|
|
|
description = "EclEmma is a free Java code coverage tool for Eclipse";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-26 09:51:20 +01:00
|
|
|
emacsplus = buildEclipsePlugin rec {
|
|
|
|
name = "emacsplus-${version}";
|
|
|
|
version = "4.2.0";
|
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "http://www.mulgasoft.com/emacsplus/e4/update-site/features/com.mulgasoft.emacsplus.feature_${version}.jar";
|
2015-07-26 09:51:20 +01:00
|
|
|
sha256 = "0wja3cd7gq8w25797fxnafvcncjnmlv8qkl5iwqj7zja2f45vka8";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "http://www.mulgasoft.com/emacsplus/e4/update-site/plugins/com.mulgasoft.emacsplus_${version}.jar";
|
2015-07-26 09:51:20 +01:00
|
|
|
sha256 = "08yw45nr90mlpdzim74vsvdaxj41sgpxcrqk5ia6l2dzvrqlsjs1";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.mulgasoft.com/emacsplus/;
|
|
|
|
description = "Provides a more Emacs-like experience in the Eclipse text editors";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-26 09:53:31 +01:00
|
|
|
findbugs = buildEclipsePlugin rec {
|
|
|
|
name = "findbugs-${version}";
|
|
|
|
version = "3.0.1.20150306-5afe4d1";
|
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "http://findbugs.cs.umd.edu/eclipse/features/edu.umd.cs.findbugs.plugin.eclipse_${version}.jar";
|
2015-07-26 09:53:31 +01:00
|
|
|
sha256 = "1m9fav2xlb9wrx2d00lpnh2sy0w5yzawynxm6xhhbfdzd0vpfr9v";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
2015-08-01 09:43:58 +01:00
|
|
|
url = "http://findbugs.cs.umd.edu/eclipse/plugins/edu.umd.cs.findbugs.plugin.eclipse_${version}.jar";
|
2015-07-26 09:53:31 +01:00
|
|
|
sha256 = "10p3mrbp9wi6jhlmmc23qv7frh605a23pqsc7w96569bsfb5wa8q";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://findbugs.sourceforge.net/;
|
|
|
|
description = "Plugin that uses static analysis to look for bugs in Java code";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-08-12 22:07:44 +01:00
|
|
|
gnuarmeclipse = buildEclipseUpdateSite rec {
|
|
|
|
name = "gnuarmeclipse-${version}";
|
2016-09-08 11:36:58 +01:00
|
|
|
version = "3.1.1-201606210758";
|
2015-08-12 22:07:44 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
2016-01-30 11:33:12 +00:00
|
|
|
url = "https://github.com/gnuarmeclipse/plug-ins/releases/download/v${version}/ilg.gnuarmeclipse.repository-${version}.zip";
|
2016-09-08 11:36:58 +01:00
|
|
|
sha256 = "1g77jlhfa3csaxxps1z5lasrd9l2p5ajnddnq9ra5syw8ggkdc2h";
|
2015-08-12 22:07:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://gnuarmeclipse.livius.net/;
|
|
|
|
description = "GNU ARM Eclipse Plug-ins";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-18 19:08:31 +00:00
|
|
|
jsonedit = buildEclipsePlugin rec {
|
|
|
|
name = "jsonedit-${version}";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "https://boothen.github.io/Json-Eclipse-Plugin/features/jsonedit-feature_${version}.jar";
|
|
|
|
sha256 = "19221409wzcsrlm2fqf6mrxzb5ip1x6y5ba8anw788p7aaz1w30k";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugins =
|
|
|
|
let
|
|
|
|
fetch = { n, h }:
|
|
|
|
fetchurl {
|
|
|
|
url = "https://boothen.github.io/Json-Eclipse-Plugin/plugins/jsonedit-${n}_${version}.jar";
|
|
|
|
sha256 = h;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
map fetch [
|
|
|
|
{ n = "core"; h = "05ipjbh9yz97zhqaqq6cja3zz44n0dn40ms13qnlgf4bxyaf0f6w"; }
|
|
|
|
{ n = "editor"; h = "1i71rh2fd5hsx6gygnafz2gjz4hlb0ckazxn0maxmnlx4p5apjql"; }
|
|
|
|
{ n = "folding"; h = "13p8vqdna23ln82w1jgchm59375f1ky0p2b1v7jih55yfhw1ymam"; }
|
|
|
|
{ n = "model"; h = "0llswhsd58f0rjb9canjncavq4z7q8zidn26yl5gradbbz580p6w"; }
|
|
|
|
{ n = "outline"; h = "1rs8g0iv2kklbl7j0p6nr26m6ii89yyr9bpi05mh21xva40pzkl5"; }
|
|
|
|
{ n = "preferences"; h = "0vs074ahhiba7if43ryf9m8xd81sqj9grppy0pzcnkkdkbk870n0"; }
|
|
|
|
{ n = "text"; h = "0nqpzjw8hhvh9jlpldpmcmg83a170wjdabgsvjq207j12jkvfiqq"; }
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ antlr-runtime_4_5 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Adds support for JSON files to Eclipse";
|
|
|
|
homepage = https://github.com/boothen/Json-Eclipse-Plugin;
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-28 23:08:26 +01:00
|
|
|
jdt = buildEclipseUpdateSite rec {
|
|
|
|
name = "jdt-${version}";
|
2017-12-20 22:22:27 +00:00
|
|
|
version = "4.7.2";
|
2015-07-28 23:08:26 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
2017-12-20 22:22:27 +00:00
|
|
|
url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.2-201711300510/org.eclipse.jdt-4.7.2.zip;
|
|
|
|
sha256 = "1yzqnjs88cdyyqv8f1g8fbfyccci29f3pzxxvaz7szxicwzn59mz";
|
2015-07-28 23:08:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.eclipse.org/jdt/;
|
|
|
|
description = "Eclipse Java development tools";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-08 09:18:10 +01:00
|
|
|
rustdt = buildEclipseUpdateSite rec {
|
|
|
|
name = "rustdt-${version}";
|
|
|
|
version = "0.6.2";
|
|
|
|
owner = "RustDT";
|
|
|
|
repo = "rustdt.github.io";
|
|
|
|
rev = "5cbe753008c40555c493092a6f4ae1ffbff0b3ce";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
|
|
|
url = "https://github.com/${owner}/${repo}/archive/${rev}.zip";
|
|
|
|
sha256 = "1xfj4j27d1h4bdf2v7f78zi8lz4zkkj7s9kskmsqx5jcs2d459yp";
|
|
|
|
extraPostFetch =
|
|
|
|
''
|
2017-10-31 22:24:13 +00:00
|
|
|
mv "$out/${repo}-${rev}/releases/local-repo/"* "$out/"
|
2016-09-08 09:18:10 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/RustDT;
|
|
|
|
description = "Rust development tooling";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-28 23:13:00 +01:00
|
|
|
scala = buildEclipseUpdateSite rec {
|
|
|
|
name = "scala-${version}";
|
2016-05-06 12:58:24 +01:00
|
|
|
version = "4.4.1.201605041056";
|
2015-07-28 23:13:00 +01:00
|
|
|
|
|
|
|
src = fetchzip {
|
2017-02-13 22:59:03 +00:00
|
|
|
url = "http://download.scala-ide.org/sdk/lithium/e44/scala211/stable/base-20160504-1321.zip";
|
2016-05-06 12:58:24 +01:00
|
|
|
sha256 = "13xgx2rwlll0l4bs0g6gyvrx5gcc0125vzn501fdj0wv2fqxn5lw";
|
2015-07-28 23:13:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://scala-ide.org/;
|
2015-07-28 23:13:00 +01:00
|
|
|
description = "The Scala IDE for Eclipse";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-10-31 22:24:53 +00:00
|
|
|
spotbugs = buildEclipsePlugin rec {
|
|
|
|
name = "spotbugs-${version}";
|
2018-01-06 21:09:18 +00:00
|
|
|
version = "3.1.1.r201712011030-903b7a0";
|
2017-10-31 22:24:53 +00:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "https://spotbugs.github.io/eclipse/features/com.github.spotbugs.plugin.eclipse_${version}.jar";
|
2018-01-06 21:09:18 +00:00
|
|
|
sha256 = "12z5dbs10h5k567wbmwz1w4pnidmqsls52qcfdb3zlgr0rqvz072";
|
2017-10-31 22:24:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
|
|
|
url = "https://spotbugs.github.io/eclipse/plugins/com.github.spotbugs.plugin.eclipse_${version}.jar";
|
2018-01-06 21:09:18 +00:00
|
|
|
sha256 = "0dnkp2alymvyyql7g8w79i27b3c64inhdvpxx1v014ng9liv54xb";
|
2017-10-31 22:24:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://spotbugs.github.io/;
|
|
|
|
description = "Plugin that uses static analysis to look for bugs in Java code";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-27 21:51:33 +01:00
|
|
|
testng = buildEclipsePlugin rec {
|
|
|
|
name = "testng-${version}";
|
2016-11-16 22:56:11 +00:00
|
|
|
version = "6.9.13.201609291640";
|
2015-07-27 21:51:33 +01:00
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
2015-12-10 20:35:33 +00:00
|
|
|
url = "http://beust.com/eclipse-old/eclipse_${version}/features/org.testng.eclipse_${version}.jar";
|
2016-11-16 22:56:11 +00:00
|
|
|
sha256 = "02wzcysl7ga3wnvnwp6asl8d77wgc547c5qqawixw94lw6fn1a15";
|
2015-07-27 21:51:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
2015-12-10 20:35:33 +00:00
|
|
|
url = "http://beust.com/eclipse-old/eclipse_${version}/plugins/org.testng.eclipse_${version}.jar";
|
2016-11-16 22:56:11 +00:00
|
|
|
sha256 = "1j4zw6392q3q6z3pcy803k3g0p220gk1x19fs99p0rmmdz83lc8d";
|
2015-07-27 21:51:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://testng.org/;
|
|
|
|
description = "Eclipse plugin for the TestNG testing framework";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-09-30 09:31:04 +01:00
|
|
|
vrapper = buildEclipseUpdateSite rec {
|
|
|
|
name = "vrapper-${version}";
|
|
|
|
version = "0.72.0";
|
|
|
|
owner = "vrapper";
|
|
|
|
repo = "vrapper";
|
|
|
|
date = "20170311";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
stripRoot = false;
|
|
|
|
url = "https://github.com/${owner}/${repo}/releases/download/${version}/vrapper_${version}_${date}.zip";
|
|
|
|
sha256 = "0nyirf6km97q211cxfy01kidxac20m8ba3kk9xj73ykrhsk3cxjp";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/vrapper/vrapper";
|
|
|
|
description = "A wrapper to provide a Vim-like input scheme for moving around and editing text";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.stumoss ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-02-15 19:53:37 +00:00
|
|
|
yedit = buildEclipsePlugin rec {
|
|
|
|
name = "yedit-${version}";
|
|
|
|
version = "1.0.20.201509041456";
|
|
|
|
|
|
|
|
srcFeature = fetchurl {
|
|
|
|
url = "http://dadacoalition.org/yedit/features/org.dadacoalition.yedit.feature_${version}-RELEASE.jar";
|
|
|
|
sha256 = "0rps73y19gwlrdr8jjrg3rhcaaagghnmri8297inxc5q2dvg0mlk";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcPlugin = fetchurl {
|
|
|
|
url = "http://dadacoalition.org/yedit/plugins/org.dadacoalition.yedit_${version}-RELEASE.jar";
|
|
|
|
sha256 = "1wpyw4z28ka60z36f8m71kz1giajcm26wb9bpv18sjiqwdgx9v0z";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/oyse/yedit;
|
|
|
|
description = "A YAML editor plugin for Eclipse";
|
|
|
|
license = licenses.epl10;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-02-25 20:51:45 +00:00
|
|
|
zest = buildEclipseUpdateSite rec {
|
|
|
|
name = "zest-${version}";
|
|
|
|
version = "3.9.101";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://archive.eclipse.org/tools/gef/downloads/drops/${version}/R201408150207/GEF-${name}.zip";
|
|
|
|
sha256 = "01scn7cmcrjcp387spjm8ifgwrwwi77ypildandbisfvhj3qqs7m";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.eclipse.org/gef/zest/;
|
|
|
|
description = "The Eclipse Visualization Toolkit";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-26 09:38:04 +01:00
|
|
|
}
|