2018-11-16 22:18:55 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file
|
|
|
|
, bison, openssl, readline, bzip2
|
2018-05-10 11:58:23 +01:00
|
|
|
}:
|
2018-04-27 08:43:07 +01:00
|
|
|
|
|
|
|
let
|
2019-12-04 09:46:19 +00:00
|
|
|
version = "11.35.3";
|
2019-08-13 22:52:01 +01:00
|
|
|
in stdenv.mkDerivation {
|
2018-04-27 08:43:07 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "monetdb";
|
|
|
|
inherit version;
|
2018-04-27 08:43:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
2019-12-04 09:46:19 +00:00
|
|
|
sha256 = "185v8ph8jq8im77dmm20d64nwgjzzc01kz71rh09nb6x6rgcna2x";
|
2018-04-27 08:43:07 +01:00
|
|
|
};
|
|
|
|
|
2018-11-16 22:18:55 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i "s,/usr/bin/file,${file}/bin/file," configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig file ];
|
|
|
|
buildInputs = [ bison openssl readline bzip2 ];
|
2018-04-27 08:43:07 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source database system";
|
|
|
|
homepage = https://www.monetdb.org/;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.StillerHarpo ];
|
|
|
|
};
|
|
|
|
}
|