From 3bde36537c66d702936985d6df85829c64285df7 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Fri, 23 Oct 2020 20:30:17 +0200 Subject: [PATCH] monetdb: 11.37.11 -> 11.39.5 (#101362) --- pkgs/servers/sql/monetdb/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/sql/monetdb/default.nix b/pkgs/servers/sql/monetdb/default.nix index 9aec724ba62e..699fcf8569fe 100644 --- a/pkgs/servers/sql/monetdb/default.nix +++ b/pkgs/servers/sql/monetdb/default.nix @@ -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; {