Re: [Nix-dev] eclipse platform Neon.2

2017-01-02 Thread Robert Helgesson
I have merged your two patches into Nixpkgs master now. I made minor
modifications to reintroduce the `eclipse-platform-46` attribute and to
use HTTPS downloads.

/rycee

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] eclipse platform Neon.2

2017-01-02 Thread Robert Helgesson
> The attached patch adds the Eclipse Platform version 4.6.2 (Neon.2) to
> the nixpkgs.

Wonderful! I will sort this Eclipse-situation out when I get home from
work. Many thanks for the patches!

/rycee

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] eclipse platform Neon.2

2017-01-02 Thread Karn Kallio

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 
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=1=/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=1=/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
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] eclipse Neon.2 SDK

2017-01-02 Thread Robert Helgesson
On 2017-01-02 15:25, Karn Kallio wrote:
>> Thanks Karn! But why replace the Eclipse Platform attribute with
>> Eclipse
>> SDK? I'm using Eclipse Platform and am quite happy not to have the
>> extra
>> plugins of the full SDK.
> 
> The Platform and SDK expressions were downloading and installing the
> same thing.  The combination was under the SDK because that is the name
> the Eclipse project uses in the tarball.

Ah, interesting. Seems like a bug. The platform package should install
the Eclipse Platform, not Eclipse SDK. The difference is ~70MiB Vs.
~200MiB according to

  http://download.eclipse.org/eclipse/downloads/drops4/R-4.6.2-201611241400/

/rycee

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] eclipse Neon.2 SDK

2017-01-02 Thread Karn Kallio
> Thanks Karn! But why replace the Eclipse Platform attribute with
>Eclipse
>SDK? I'm using Eclipse Platform and am quite happy not to have the
>extra
>plugins of the full SDK.

The Platform and SDK expressions were downloading and installing the
same thing.  The combination was under the SDK because that is the name
the Eclipse project uses in the tarball.
 
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] eclipse Neon.2 SDK

2017-01-01 Thread Robert Helgesson
> The attached patch updates the Eclipse SDK nixpkgs expression to the
> latest version 4.6.2 (Neon.2).

Thanks Karn! But why replace the Eclipse Platform attribute with Eclipse
SDK? I'm using Eclipse Platform and am quite happy not to have the extra
plugins of the full SDK.

/rycee

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] eclipse Neon.2 SDK

2017-01-01 Thread Karn Kallio

The attached patch updates the Eclipse SDK nixpkgs expression to the
latest version 4.6.2 (Neon.2).
>From d2c8f5a9f50c75692371e15244420e31137eb3e3 Mon Sep 17 00:00:00 2001
From: Karn Kallio 
Date: Sun, 1 Jan 2017 16:27:15 -0400
Subject: [PATCH] eclipse sdk: advance to Neon 4.6.2

---
 pkgs/applications/editors/eclipse/default.nix | 29 +++
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix
index 4663e8c64f..779113d741 100644
--- a/pkgs/applications/editors/eclipse/default.nix
+++ b/pkgs/applications/editors/eclipse/default.nix
@@ -85,22 +85,7 @@ rec {
 
   ### Eclipse Platform
 
-  eclipse-platform = eclipse-platform-46;
-
-  eclipse-platform-46 = buildEclipse {
-name = "eclipse-platform-4.6.1";
-description = "Eclipse platform";
-sources = {
-  "x86_64-linux" = fetchurl {
-  url = https://www.eclipse.org/downloads/download.php?r=1=1=/eclipse/downloads/drops4/R-4.6.1-201609071200/eclipse-SDK-4.6.1-linux-gtk-x86_64.tar.gz;
-  sha256 = "1mr7sj4whz23iwz5j6mbqd80a39177qv0r7b6cip7dji4n2agl8j";
-};
-  "i686-linux" = fetchurl {
-  url = https://www.eclipse.org/downloads/download.php?r=1=1=/eclipse/downloads/drops4/R-4.6.1-201609071200/eclipse-SDK-4.6.1-linux-gtk.tar.gz;
-  sha256 = "0kgj0zpgzwx90q13c4mr8swf63azd56532ycxgq2rbs0d1qbl87j";
-};
-};
-  };
+  eclipse-platform = eclipse-sdk-46;
 
   ### Eclipse Scala SDK
 
@@ -123,16 +108,16 @@ rec {
   ### Eclipse SDK
 
   eclipse-sdk-46 = buildEclipse {
-name = "eclipse-sdk-4.6.1";
-description = "Eclipse Neon Classic";
+name = "eclipse-sdk-4.6.2";
+description = "Eclipse Neon 2 Classic";
 sources = {
   "x86_64-linux" = fetchurl {
-  url = https://www.eclipse.org/downloads/download.php?r=1=1=/eclipse/downloads/drops4/R-4.6.1-201609071200/eclipse-SDK-4.6.1-linux-gtk-x86_64.tar.gz;
-  sha256 = "1mr7sj4whz23iwz5j6mbqd80a39177qv0r7b6cip7dji4n2agl8j";
+  url = http://www.eclipse.org/downloads/download.php?r=1=1=/eclipse/downloads/drops4/R-4.6.2-201611241400/eclipse-SDK-4.6.2-linux-gtk-x86_64.tar.gz;
+  sha256 = "0g3nk1gcz178j8xk6nblkfsaysm8gq8101383fx60x6w25rdfgjb";
 };
   "i686-linux" = fetchurl {
-  url = https://www.eclipse.org/downloads/download.php?r=1=1=/eclipse/downloads/drops4/R-4.6.1-201609071200/eclipse-SDK-4.6.1-linux-gtk.tar.gz;
-  sha256 = "0kgj0zpgzwx90q13c4mr8swf63azd56532ycxgq2rbs0d1qbl87j";
+  url = http://www.eclipse.org/downloads/download.php?r=1=1=/eclipse/downloads/drops4/R-4.6.2-201611241400/eclipse-SDK-4.6.2-linux-gtk.tar.gz;
+  sha256 = "09wlkcxs5h3j8habqxgr4all99vkgmyixc0vr9dj3qs0kl85k5mz";
 };
 };
   };
-- 
2.11.0

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Eclipse

2016-08-24 Thread Bjørn Forsman
On 25 August 2016 at 02:05, Tim Barbour  wrote:
> What is the recommended way to run Eclipse on Nixos ?
>
> When I install a Nixos eclipse package (e.g. eclipse-cpp), I find that it
> cannot install plugins in the normal way, because the plugin installation
> process tries to modify the Nix store.

Hm, I thought that would work (mixing declarative and impure plugin
install...). Oh well.

> I would like to be able to run Eclipse with i.a. the GNU ARM plugin...

Try this:

(eclipses.eclipseWithPlugins {
  eclipse = eclipses.eclipse-cpp-45;
  jvmArgs = [ "-Xmx2048m" ];
  plugins = with eclipses.plugins;
[ cdt gnuarmeclipse ];
})

Best regards,
Bjørn Forsman
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Eclipse

2016-08-24 Thread Tim Barbour
What is the recommended way to run Eclipse on Nixos ?

When I install a Nixos eclipse package (e.g. eclipse-cpp), I find that it
cannot install plugins in the normal way, because the plugin installation
process tries to modify the Nix store.

I would like to be able to run Eclipse with i.a. the GNU ARM plugin...

Tim
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Eclipse Mars version

2015-07-03 Thread Karn Kallio

The attached patch adds the recently released version 4.5 (Mars) of the 
eclipse editor.
From 4f889516b2697321d545f05905773eb07b9af121 Mon Sep 17 00:00:00 2001
From: Karn Kallio kkal...@skami.org
Date: Fri, 3 Jul 2015 00:07:59 -0430
Subject: [PATCH] eclipse: add version 4.5 (Mars).

---
 pkgs/applications/editors/eclipse/default.nix | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix
index 0373791..a8dc22e 100644
--- a/pkgs/applications/editors/eclipse/default.nix
+++ b/pkgs/applications/editors/eclipse/default.nix
@@ -302,4 +302,19 @@ in {
 };
 };
   };
+
+  eclipse_sdk_45 = buildEclipse {
+name = eclipse-sdk-4.5;
+description = Eclipse Classic;
+sources = {
+  x86_64-linux = fetchurl {
+  url = http://download.eclipse.org/eclipse/downloads/drops4/R-4.5-201506032000/eclipse-SDK-4.5-linux-gtk-x86_64.tar.gz;
+  sha256 = 0vfql4gh263ms8bg7sgn05gnjajplx304cn3nr03jlacgr3pkarf;
+};
+  i686-linux = fetchurl {
+  url = http://download.eclipse.org/eclipse/downloads/drops4/R-4.5-201506032000/eclipse-SDK-4.5-linux-gtk.tar.gz;
+  sha256 = 0xv66l6hdlvxpswcqrsh398wg6xhy30f833dr7jvvz45s5437hm3;
+};
+};
+  };
 }
-- 
2.4.4

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Eclipse Mars version

2015-07-03 Thread Arseniy Seroka
Thank you, but we do already have it in nixpkgs since [1].

[1]
https://github.com/NixOS/nixpkgs/commit/fd2ee86a1a7cd2747093483df1d25dc6af02d21e

2015-07-03 7:39 GMT+03:00 Karn Kallio tierplusplusli...@skami.org:


 The attached patch adds the recently released version 4.5 (Mars) of the
 eclipse editor.

 ___
 nix-dev mailing list
 nix-dev@lists.science.uu.nl
 http://lists.science.uu.nl/mailman/listinfo/nix-dev




-- 
Sincerely,
Arseniy Seroka
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev