2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file
|
|
|
|
, bison, openssl, readline, bzip2
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "11.37.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
in stdenv.mkDerivation {
|
|
|
|
|
|
|
|
pname = "monetdb";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "00z6c7z4f9ww43574nz32b06rw5ln5fy3hlml32h2wrwsg0cj5jh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i "s,/usr/bin/file,${file}/bin/file," configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig file ];
|
|
|
|
buildInputs = [ bison openssl readline bzip2 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source database system";
|
|
|
|
homepage = "https://www.monetdb.org/";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.StillerHarpo ];
|
|
|
|
};
|
|
|
|
}
|