@@ -530,18 +530,13 @@ rec {
530530 };
531531 };
532532
533− spotbugs = buildEclipsePlugin rec {
533+ spotbugs = buildEclipseUpdateSite rec {
534534 name = "spotbugs-${version}";
535− version = "3.1.2.r201802250230-59118d9";
535+ version = "3.1.3";
536536
537− srcFeature = fetchurl {
538− url = "https://spotbugs.github.io/eclipse/features/com.github.spotbugs.plugin.eclipse_${version}.jar";
539− sha256 = "1p0pz7znpfi5h1wr60sl8clkpd7rzkh7krmc0nxc6w43gkgkg9h4";
540− };
541−
542− srcPlugin = fetchurl {
543− url = "https://spotbugs.github.io/eclipse/plugins/com.github.spotbugs.plugin.eclipse_${version}.jar";
544− sha256 = "1z3jjbcjif4qip1gx2dhfcm9fyhps96ms7z3ngbdcakgw7wai9v4";
537+ src = fetchzip {
538+ url = "https://github.com/spotbugs/spotbugs/releases/download/${version}/eclipsePlugin.zip";
539+ sha256 = "01zrmk497bxzqgwgbpsvi5iz5qk9b4q949h4918abm54zvkgndlg";
545540 };
546541
547542 meta = with stdenv.lib; {