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