nixpkgs/pkgs/servers/sql/monetdb/default.nix
R. RyanTM 23a981a683 monetdb: 11.31.11 -> 11.31.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/monetdb/versions
2019-01-27 23:26:02 -08:00

31 lines
760 B
Nix

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