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.

+61
+61
pkgs/applications/editors/eclipse/plugins.nix
··· 137 137 }; 138 138 }; 139 139 140 + antlr-runtime_4_5 = buildEclipsePluginBase rec { 141 + name = "antlr-runtime-4.5.3"; 142 + 143 + src = fetchurl { 144 + url = "http://www.antlr.org/download/${name}.jar"; 145 + sha256 = "0lm78i2annlczlc2cg5xvby0g1dyl0sh1y5xc2pymjlmr67a1g4k"; 146 + }; 147 + 148 + buildCommand = '' 149 + dropinDir="$out/eclipse/dropins/" 150 + mkdir -p $dropinDir 151 + cp -v $src $dropinDir/${name}.jar 152 + ''; 153 + 154 + meta = with stdenv.lib; { 155 + description = "A powerful parser generator for processing structured text or binary files"; 156 + homepage = http://www.antlr.org/; 157 + license = licenses.bsd3; 158 + platforms = platforms.all; 159 + maintainers = [ maintainers.rycee ]; 160 + }; 161 + }; 162 + 140 163 anyedittools = buildEclipsePlugin rec { 141 164 name = "anyedit-${version}"; 142 165 version = "2.7.1.201709201439"; ··· 392 415 license = licenses.epl10; 393 416 platforms = platforms.all; 394 417 maintainers = [ maintainers.bjornfor ]; 418 + }; 419 + }; 420 + 421 + jsonedit = buildEclipsePlugin rec { 422 + name = "jsonedit-${version}"; 423 + version = "1.0.1"; 424 + 425 + srcFeature = fetchurl { 426 + url = "https://boothen.github.io/Json-Eclipse-Plugin/features/jsonedit-feature_${version}.jar"; 427 + sha256 = "19221409wzcsrlm2fqf6mrxzb5ip1x6y5ba8anw788p7aaz1w30k"; 428 + }; 429 + 430 + srcPlugins = 431 + let 432 + fetch = { n, h }: 433 + fetchurl { 434 + url = "https://boothen.github.io/Json-Eclipse-Plugin/plugins/jsonedit-${n}_${version}.jar"; 435 + sha256 = h; 436 + }; 437 + in 438 + map fetch [ 439 + { n = "core"; h = "05ipjbh9yz97zhqaqq6cja3zz44n0dn40ms13qnlgf4bxyaf0f6w"; } 440 + { n = "editor"; h = "1i71rh2fd5hsx6gygnafz2gjz4hlb0ckazxn0maxmnlx4p5apjql"; } 441 + { n = "folding"; h = "13p8vqdna23ln82w1jgchm59375f1ky0p2b1v7jih55yfhw1ymam"; } 442 + { n = "model"; h = "0llswhsd58f0rjb9canjncavq4z7q8zidn26yl5gradbbz580p6w"; } 443 + { n = "outline"; h = "1rs8g0iv2kklbl7j0p6nr26m6ii89yyr9bpi05mh21xva40pzkl5"; } 444 + { n = "preferences"; h = "0vs074ahhiba7if43ryf9m8xd81sqj9grppy0pzcnkkdkbk870n0"; } 445 + { n = "text"; h = "0nqpzjw8hhvh9jlpldpmcmg83a170wjdabgsvjq207j12jkvfiqq"; } 446 + ]; 447 + 448 + propagatedBuildInputs = [ antlr-runtime_4_5 ]; 449 + 450 + meta = with stdenv.lib; { 451 + description = "Adds support for JSON files to Eclipse"; 452 + homepage = https://github.com/boothen/Json-Eclipse-Plugin; 453 + license = licenses.epl10; 454 + platforms = platforms.all; 455 + maintainers = [ maintainers.rycee ]; 395 456 }; 396 457 }; 397 458