monetdb: 11.37.11 -> 11.39.5 (#101362)
This commit is contained in:
parent
7c76eafdb7
commit
3bde36537c
|
@ -1,24 +1,23 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, file
|
{ stdenv, fetchurl, cmake, python3
|
||||||
, bison, openssl, readline, bzip2
|
, bison, openssl, readline, bzip2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "11.37.11";
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
|
|
||||||
pname = "monetdb";
|
pname = "monetdb";
|
||||||
inherit version;
|
version = "11.39.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
||||||
sha256 = "0ch4vka64m5fbyah2730rcv7xpgy4hq26vbi8wd8mkadwna7azr5";
|
sha256 = "1hdlab2gcj71yw6sb3yvl8s027blcsyvch3n5sgi0a2yz84wj765";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
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 ];
|
buildInputs = [ bison openssl readline bzip2 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue