From f16eda3fb1cdd25a2cee322c20ea8a904b764176 Mon Sep 17 00:00:00 2001 From: Karn Kallio Date: Mon, 2 Jan 2017 10:53:02 -0400 Subject: [PATCH] eclipse-platform: add Neon 2 Platform --- pkgs/applications/editors/eclipse/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix index 02efb3feef63..cde3475196f3 100644 --- a/pkgs/applications/editors/eclipse/default.nix +++ b/pkgs/applications/editors/eclipse/default.nix @@ -85,7 +85,22 @@ rec { ### Eclipse Platform - eclipse-platform = eclipse-sdk-46; + eclipse-platform = eclipse-platform-46; + + eclipse-platform-46 = buildEclipse { + name = "eclipse-platform-4.6.2"; + description = "Eclipse Platform Neon 2"; + sources = { + "x86_64-linux" = fetchurl { + url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.6.2-201611241400/eclipse-platform-4.6.2-linux-gtk-x86_64.tar.gz; + sha256 = "1fmpirjkp210angyfz3nr5jp58snjy6784zkkbmdxkiyg9kg2wqq"; + }; + "i686-linux" = fetchurl { + url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.6.2-201611241400/eclipse-platform-4.6.2-linux-gtk.tar.gz; + sha256 = "0274g6ypiqsqkch10868ygbm6avc5pa57saz9wd196kdivl1bdpm"; + }; + }; + }; ### Eclipse Scala SDK