3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/sql/monetdb/default.nix

32 lines
767 B
Nix
Raw Normal View History

2018-11-16 22:18:55 +00:00
{ stdenv, fetchurl, pkgconfig, file
, bison, openssl, readline, bzip2
}:
let
2020-07-29 05:05:20 +01:00
version = "11.37.11";
2019-08-13 22:52:01 +01:00
in stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "monetdb";
inherit version;
src = fetchurl {
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
2020-07-29 05:05:20 +01:00
sha256 = "0ch4vka64m5fbyah2730rcv7xpgy4hq26vbi8wd8mkadwna7azr5";
};
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 ];
meta = with stdenv.lib; {
description = "An open source database system";
2020-03-02 16:10:13 +00:00
homepage = "https://www.monetdb.org/";
license = licenses.mpl20;
platforms = platforms.unix;
maintainers = [ maintainers.StillerHarpo ];
};
}