summary refs log tree commit diff
path: root/pkgs/applications/editors/eclipse
diff options
context:
space:
mode:
authorPeter Pickford <git@netremedies.ca>2016-09-08 01:18:10 -0700
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-09-09 15:15:00 +0200
commitefb52067018f03a7113d93e447d492a6ce9556f4 (patch)
tree0765cfc2fb348110993488c504078e11b0233cbb /pkgs/applications/editors/eclipse
parent1196540a1d97ca20f9736ce33aebf19464d24e61 (diff)
downloadnixlib-efb52067018f03a7113d93e447d492a6ce9556f4.tar
nixlib-efb52067018f03a7113d93e447d492a6ce9556f4.tar.gz
nixlib-efb52067018f03a7113d93e447d492a6ce9556f4.tar.bz2
nixlib-efb52067018f03a7113d93e447d492a6ce9556f4.tar.lz
nixlib-efb52067018f03a7113d93e447d492a6ce9556f4.tar.xz
nixlib-efb52067018f03a7113d93e447d492a6ce9556f4.tar.zst
nixlib-efb52067018f03a7113d93e447d492a6ce9556f4.zip
eclipse-plugin-rustdt: init at 0.6.2
[Bjørn: sort alphabetially in plugins.nix, capitalize meta.description,
add space around assignment operator, indent multi-line string.]
Diffstat (limited to 'pkgs/applications/editors/eclipse')
-rw-r--r--pkgs/applications/editors/eclipse/plugins.nix25
1 files changed, 25 insertions, 0 deletions
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";