From 7c8f19b31bdb98404ad3bc9b7d8007207c2387de Mon Sep 17 00:00:00 2001 From: Peter Pickford Date: Thu, 8 Sep 2016 00:56:17 -0700 Subject: [PATCH] eclipse-cpp-46: init at 4.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Bjørn: fix hash for i686-linux (was wrong length), remove backward compatibility attribute alias (not needed for new packages), change commit message (this adds a package, it doesn't upgrade / change existing one).] --- pkgs/applications/editors/eclipse/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix index 776d771f9b0..3d59777e5f0 100644 --- a/pkgs/applications/editors/eclipse/default.nix +++ b/pkgs/applications/editors/eclipse/default.nix @@ -199,6 +199,23 @@ rec { }; eclipse_cpp_45 = eclipse-cpp-45; # backward compatibility, added 2016-01-30 + eclipse-cpp-46 = buildEclipse { + name = "eclipse-cpp-4.6.0"; + description = "Eclipse IDE for C/C++ Developers, Neon release"; + src = + if stdenv.system == "x86_64-linux" then + fetchurl { + url = http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk-x86_64.tar.gz; + sha256 = "09fqsgvbjfdqvn7z03crkii34z4bsb34y272q68ib8741bxk0i6m"; + } + else if stdenv.system == "i686-linux" then + fetchurl { + url = http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk.tar.gz; + sha256 = "0a12qmqq22v7sbmwn1hjv1zcrkmp64bf0ajmdjljhs9ac79mxn5h"; + } + else throw "Unsupported system: ${stdenv.system}"; + }; + eclipse-sdk-421 = buildEclipse { name = "eclipse-sdk-4.2.1"; description = "Eclipse Classic";