diff options
author | Robert Helgesson <robert@rycee.net> | 2018-01-18 20:08:31 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2018-01-20 16:00:09 +0100 |
commit | 663d827b770cba1d62b4d8ca0177d658278c8fa8 (patch) | |
tree | fb255d1f3bb52f40bd57d386938972abf58f11a9 /pkgs/applications/editors | |
parent | 3a70f217385bbc2c0ab24ab14485b6752a35219a (diff) | |
download | nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.tar nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.tar.gz nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.tar.bz2 nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.tar.lz nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.tar.xz nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.tar.zst nixpkgs-663d827b770cba1d62b4d8ca0177d658278c8fa8.zip |
eclipse-plugins-jsonedit: init at 1.0.1
Also init the bundle `antlr-runtime_4_5` at 4.5.3 because it is needed by the `jsonedit` plugin.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/eclipse/plugins.nix | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index cea3008d2c3..3d5153d1661 100644 --- a/pkgs/applications/editors/eclipse/plugins.nix +++ b/pkgs/applications/editors/eclipse/plugins.nix @@ -137,6 +137,29 @@ rec { }; }; + 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 ]; + }; + }; + anyedittools = buildEclipsePlugin rec { name = "anyedit-${version}"; version = "2.7.1.201709201439"; @@ -395,6 +418,44 @@ rec { }; }; + 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 ]; + }; + }; + jdt = buildEclipseUpdateSite rec { name = "jdt-${version}"; version = "4.7.2"; |