diff options
author | Matt McHenry <github@matt.mchenryfamily.org> | 2019-02-13 10:40:33 -0500 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-02-16 10:52:08 +0100 |
commit | 5e3bdd4242383131f70c2db8207cb46b89fc3071 (patch) | |
tree | 4b587ce5dcff3d8767fabcd00ea407897e84d54f /pkgs/applications/editors/eclipse | |
parent | 6dce69e47536568700951a71e417a9c93f8c9448 (diff) | |
download | nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.tar nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.tar.gz nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.tar.bz2 nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.tar.lz nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.tar.xz nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.tar.zst nixpkgs-5e3bdd4242383131f70c2db8207cb46b89fc3071.zip |
eclipse.plugins.drools: init at 7.17.0
Diffstat (limited to 'pkgs/applications/editors/eclipse')
-rw-r--r-- | pkgs/applications/editors/eclipse/plugins.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index af0f7e2d8c5..8a5991cc7cd 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"; |