depot/third_party/nixpkgs/pkgs/servers/sql/monetdb/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

31 lines
767 B
Nix

{ stdenv, fetchurl, pkgconfig, file
, bison, openssl, readline, bzip2
}:
let
version = "11.37.11";
in stdenv.mkDerivation {
pname = "monetdb";
inherit version;
src = fetchurl {
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
sha256 = "0ch4vka64m5fbyah2730rcv7xpgy4hq26vbi8wd8mkadwna7azr5";
};
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 ];
};
}