@@ -1,40 +0,0 @@
1−{ composableDerivation, fetchurl, pcre, openssl, readline, libxml2, geos, apacheAnt, jdk5 }:
2−
3−let inherit (composableDerivation) edf; in
4−
5−composableDerivation.composableDerivation {} {
6−
7− name = "monetdb-2009-05-01";
8−
9− src = fetchurl {
10− url = http://monetdb.cwi.nl/downloads/sources/May2009-SP1/MonetDB-May2009-SuperBall-SP1.tar.bz2;
11− sha256 = "0r794snnwa4m0x57nv8cgfdxwb689946c1mi2s44wp4iljka2ryj";
12− };
13−
14− flags = edf { name = "geom"; enable = { buildInputs = [geos]; }; }
15− // {
16− java = { buildInputs = [ (apacheAnt.override {jdk = jdk5;}) jdk5 /* must be 1.5 */ ]; };
17− /* perl TODO export these (SWIG only if its present) HAVE_PERL=1 HAVE_PERL_DEVEL=1 HAVE_PERL_SWIG=1 */
18− };
19−
20− buildInputs = [ pcre
21− openssl readline libxml2 ]; # optional python perl php java ?
22−
23− cfg = {
24− geomSupport = true;
25− javaSupport = true;
26− };
27−
28− dontBuild = true;
29−
30− installPhase = ''
31− mkdir $TMP/build
32− sh monetdb-install.sh --build=$TMP/build --prefix=$out --enable-sql --enable-xquery
33− '';
34−
35− meta = {
36− description = "A open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval";
37− homepage = http://monetdb.cwi.nl/;
38− license = "MonetDB Public License"; # very similar to Mozilla public license (MPL) Version see 1.1 http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
39− };
40−}