monetdb: 11.37.11 -> 11.39.5 (#101362)

This commit is contained in:
Michael Weiss 2020-10-23 20:30:17 +02:00 committed by GitHub
parent 7c76eafdb7
commit 3bde36537c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,24 +1,23 @@
{ stdenv, fetchurl, pkgconfig, file
{ stdenv, fetchurl, cmake, python3
, bison, openssl, readline, bzip2
}:
let
version = "11.37.11";
in stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "monetdb";
inherit version;
version = "11.39.5";
src = fetchurl {
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
sha256 = "0ch4vka64m5fbyah2730rcv7xpgy4hq26vbi8wd8mkadwna7azr5";
sha256 = "1hdlab2gcj71yw6sb3yvl8s027blcsyvch3n5sgi0a2yz84wj765";
};
postPatch = ''
sed -i "s,/usr/bin/file,${file}/bin/file," configure
substituteInPlace cmake/monetdb-packages.cmake --replace \
'get_os_release_info(LINUX_DISTRO LINUX_DISTRO_VERSION)' \
'set(LINUX_DISTRO "nixos")'
'';
nativeBuildInputs = [ pkgconfig file ];
nativeBuildInputs = [ cmake python3 ];
buildInputs = [ bison openssl readline bzip2 ];
meta = with stdenv.lib; {