From efb52067018f03a7113d93e447d492a6ce9556f4 Mon Sep 17 00:00:00 2001 From: Peter Pickford Date: Thu, 8 Sep 2016 01:18:10 -0700 Subject: [PATCH] eclipse-plugin-rustdt: init at 0.6.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Bjørn: sort alphabetially in plugins.nix, capitalize meta.description, add space around assignment operator, indent multi-line string.] --- pkgs/applications/editors/eclipse/plugins.nix | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index ba37f34719db..b3008f8cb241 100644 --- a/pkgs/applications/editors/eclipse/plugins.nix +++ b/pkgs/applications/editors/eclipse/plugins.nix @@ -358,6 +358,31 @@ rec { }; }; + rustdt = buildEclipseUpdateSite rec { + name = "rustdt-${version}"; + version = "0.6.2"; + owner = "RustDT"; + repo = "rustdt.github.io"; + rev = "5cbe753008c40555c493092a6f4ae1ffbff0b3ce"; + + src = fetchzip { + stripRoot = false; + url = "https://github.com/${owner}/${repo}/archive/${rev}.zip"; + sha256 = "1xfj4j27d1h4bdf2v7f78zi8lz4zkkj7s9kskmsqx5jcs2d459yp"; + extraPostFetch = + '' + mv "$out/${repo}-${rev}/releases/local-repo"/* "$out/" + ''; + }; + + meta = with stdenv.lib; { + homepage = https://github.com/RustDT; + description = "Rust development tooling"; + license = licenses.epl10; + platforms = platforms.all; + }; + }; + scala = buildEclipseUpdateSite rec { name = "scala-${version}"; version = "4.4.1.201605041056";