From f54a9994e3fd6e3942b3c761615f106eca2d8965 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 24 Apr 2018 22:58:15 +0200 Subject: eclipse-plugin-spotbugs: 3.1.2 -> 3.1.3 Also switch to using zipped update site provided on GitHub. --- pkgs/applications/editors/eclipse/plugins.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index 1710c0e35531..136ef7dfc23d 100644 --- a/pkgs/applications/editors/eclipse/plugins.nix +++ b/pkgs/applications/editors/eclipse/plugins.nix @@ -530,18 +530,13 @@ rec { }; }; - spotbugs = buildEclipsePlugin rec { + spotbugs = buildEclipseUpdateSite rec { name = "spotbugs-${version}"; - version = "3.1.2.r201802250230-59118d9"; + version = "3.1.3"; - srcFeature = fetchurl { - url = "https://spotbugs.github.io/eclipse/features/com.github.spotbugs.plugin.eclipse_${version}.jar"; - sha256 = "1p0pz7znpfi5h1wr60sl8clkpd7rzkh7krmc0nxc6w43gkgkg9h4"; - }; - - srcPlugin = fetchurl { - url = "https://spotbugs.github.io/eclipse/plugins/com.github.spotbugs.plugin.eclipse_${version}.jar"; - sha256 = "1z3jjbcjif4qip1gx2dhfcm9fyhps96ms7z3ngbdcakgw7wai9v4"; + src = fetchzip { + url = "https://github.com/spotbugs/spotbugs/releases/download/${version}/eclipsePlugin.zip"; + sha256 = "01zrmk497bxzqgwgbpsvi5iz5qk9b4q949h4918abm54zvkgndlg"; }; meta = with stdenv.lib; { -- cgit 1.4.1