about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2019-02-17 07:58:47 +0100
committerVladimír Čunát <vcunat@gmail.com>2019-02-17 08:05:24 +0100
commitf7f1a2f54ef2b744a26e37418dd6354bc46aa20a (patch)
tree03b40b737111f3677fbf508dce58a29cfc81fc1b /pkgs/applications/editors
parent705167a5dceb53befd22f4e6184bbfba0813b73d (diff)
parentc904c2ec09cbee8b46bee136e062e611d249cdf2 (diff)
downloadnixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.tar
nixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.tar.gz
nixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.tar.bz2
nixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.tar.lz
nixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.tar.xz
nixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.tar.zst
nixlib-f7f1a2f54ef2b744a26e37418dd6354bc46aa20a.zip
Merge branch 'master' into staging-next
A mass darwin rebuild from master (#55784).
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/eclipse/plugins.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix
index af0f7e2d8c53..8a5991cc7cd7 100644
--- a/pkgs/applications/editors/eclipse/plugins.nix
+++ b/pkgs/applications/editors/eclipse/plugins.nix
@@ -346,6 +346,33 @@ rec {
     };
   };
 
+  drools = buildEclipseUpdateSite rec {
+    name = "drools-${version}";
+    version = "7.17.0.Final";
+
+    src = fetchzip {
+      url = "https://download.jboss.org/drools/release/${version}/droolsjbpm-tools-distribution-${version}.zip";
+      sha512 = "2qzc1iszqfrfnw8xip78n3kp6hlwrvrr708vlmdk7nv525xhs0ssjaxriqdhcr0s6jripmmazxivv3763rnk2bfkh31hmbnckpx4r3m";
+      extraPostFetch = ''
+        # work around https://github.com/NixOS/nixpkgs/issues/38649
+        chmod go-w $out;
+
+        # update site is a couple levels deep, alongside some other irrelevant stuff
+        cd $out;
+        find . -type f -not -path ./binaries/org.drools.updatesite/\* -exec rm {} \;
+        rmdir sources;
+        mv binaries/org.drools.updatesite/* .;
+        rmdir binaries/org.drools.updatesite binaries;
+      '';
+    };
+
+    meta = with stdenv.lib; {
+      homepage = https://www.drools.org/;
+      description = "Drools is a Business Rules Management System (BRMS) solution";
+      license = licenses.asl20;
+    };
+  };
+
   eclemma = buildEclipseUpdateSite rec {
     name = "eclemma-${version}";
     version = "2.3.2.201409141915";