mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
adding monetdb database
svn path=/nixpkgs/trunk/; revision=16262
This commit is contained in:
parent
6ec3225722
commit
4f81282226
37
pkgs/servers/sql/monetdb/default.nix
Normal file
37
pkgs/servers/sql/monetdb/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
args: with args;
|
||||||
|
|
||||||
|
let inherit (args.composableDerivation) composableDerivation edf; in
|
||||||
|
composableDerivation {} {
|
||||||
|
|
||||||
|
name = "monetdb-may-2009";
|
||||||
|
|
||||||
|
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]; }; };
|
||||||
|
|
||||||
|
buildInputs = [ (pcre.override { unicodeSupport = true; })
|
||||||
|
openssl readline libxml2]; # optional python perl php java ?
|
||||||
|
|
||||||
|
cfg = {
|
||||||
|
geomSupport = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
configurePhase = ":";
|
||||||
|
buildPhase = ":";
|
||||||
|
# --enable-template (nightly or cvs sources)
|
||||||
|
# --enable-optimise
|
||||||
|
# --enable-geom (geos-config required ?)
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $TMP/build
|
||||||
|
sh monetdb-install.sh --build=$TMP/build --prefix=$out --enable-sql --enable-xquery
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "MonetDB is a open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval";
|
||||||
|
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
|
||||||
|
};
|
||||||
|
}
|
@ -3974,7 +3974,7 @@ let
|
|||||||
inherit (gtkLibs) glib pango;
|
inherit (gtkLibs) glib pango;
|
||||||
};
|
};
|
||||||
|
|
||||||
pcre = import ../development/libraries/pcre {
|
pcre = makeOverridable (import ../development/libraries/pcre) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
unicodeSupport = getConfig ["pcre" "unicode"] false;
|
unicodeSupport = getConfig ["pcre" "unicode"] false;
|
||||||
cplusplusSupport = !stdenv ? isDietLibC;
|
cplusplusSupport = !stdenv ? isDietLibC;
|
||||||
@ -4605,6 +4605,11 @@ let
|
|||||||
inherit fetchurl stdenv lib tcpWrapper;
|
inherit fetchurl stdenv lib tcpWrapper;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
monetdb = import ../servers/sql/monetdb {
|
||||||
|
inherit composableDerivation;
|
||||||
|
inherit fetchurl stdenv pcre openssl readline libxml2 geos;
|
||||||
|
};
|
||||||
|
|
||||||
mysql4 = import ../servers/sql/mysql {
|
mysql4 = import ../servers/sql/mysql {
|
||||||
inherit fetchurl stdenv ncurses zlib perl;
|
inherit fetchurl stdenv ncurses zlib perl;
|
||||||
ps = procps; /* !!! Linux only */
|
ps = procps; /* !!! Linux only */
|
||||||
|
Loading…
Reference in New Issue
Block a user