2010-07-28 13:55:54 +02:00
|
|
|
{ composableDerivation, fetchurl, pcre, openssl, readline, libxml2, geos, apacheAnt, jdk5 }:
|
|
|
|
|
|
|
|
let inherit (composableDerivation) edf; in
|
|
|
|
|
|
|
|
composableDerivation.composableDerivation {} {
|
|
|
|
|
2015-06-04 19:22:36 +02:00
|
|
|
name = "monetdb-2009-05-01";
|
2010-07-28 13:55:54 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://monetdb.cwi.nl/downloads/sources/May2009-SP1/MonetDB-May2009-SuperBall-SP1.tar.bz2;
|
|
|
|
sha256 = "0r794snnwa4m0x57nv8cgfdxwb689946c1mi2s44wp4iljka2ryj";
|
|
|
|
};
|
|
|
|
|
|
|
|
flags = edf { name = "geom"; enable = { buildInputs = [geos]; }; }
|
|
|
|
// {
|
|
|
|
java = { buildInputs = [ (apacheAnt.override {jdk = jdk5;}) jdk5 /* must be 1.5 */ ]; };
|
|
|
|
/* perl TODO export these (SWIG only if its present) HAVE_PERL=1 HAVE_PERL_DEVEL=1 HAVE_PERL_SWIG=1 */
|
|
|
|
};
|
|
|
|
|
2016-04-07 14:35:03 +02:00
|
|
|
buildInputs = [ pcre
|
2010-07-28 13:55:54 +02:00
|
|
|
openssl readline libxml2 ]; # optional python perl php java ?
|
|
|
|
|
|
|
|
cfg = {
|
|
|
|
geomSupport = true;
|
|
|
|
javaSupport = true;
|
|
|
|
};
|
|
|
|
|
2016-05-04 12:08:35 +02:00
|
|
|
dontBuild = true;
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir $TMP/build
|
|
|
|
sh monetdb-install.sh --build=$TMP/build --prefix=$out --enable-sql --enable-xquery
|
|
|
|
'';
|
|
|
|
|
2016-05-04 12:08:35 +02:00
|
|
|
meta = {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval";
|
2010-07-28 13:55:54 +02:00
|
|
|
homepage = http://monetdb.cwi.nl/;
|
|
|
|
license = "MonetDB Public License"; # very similar to Mozilla public license (MPL) Version see 1.1 http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
|
|
|
|
};
|
|
|
|
}
|