The attached patch adds the Eclipse Platform version 4.6.2 (Neon.2) to
the nixpkgs.
>From 18a6f28457d54495db409c4d4bf5a9859be0f064 Mon Sep 17 00:00:00 2001
From: Karn Kallio <[email protected]>
Date: Mon, 2 Jan 2017 10:53:02 -0400
Subject: [PATCH] eclipse : add Neon 2 Platform.
---
pkgs/applications/editors/eclipse/default.nix | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix
index 779113d741..1fe6ee10e2 100644
--- a/pkgs/applications/editors/eclipse/default.nix
+++ b/pkgs/applications/editors/eclipse/default.nix
@@ -85,7 +85,20 @@ rec {
### Eclipse Platform
- eclipse-platform = eclipse-sdk-46;
+ eclipse-platform = buildEclipse {
+ name = "eclipse-platform-4.6.2";
+ description = "Eclipse Platform Neon 2";
+ sources = {
+ "x86_64-linux" = fetchurl {
+ url = http://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 = http://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
--
2.11.0
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev