mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
31 lines
844 B
Nix
31 lines
844 B
Nix
{ lib, stdenv, fetchurl, cmake, python3
|
|
, bison, openssl, readline, bzip2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "monetdb";
|
|
version = "11.39.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
|
|
sha256 = "sha256-e30Vykwk6U83/0pS3OWPJ2Oq2SAtNc1S6c1ZO42k39c=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace cmake/monetdb-packages.cmake --replace \
|
|
'get_os_release_info(LINUX_DISTRO LINUX_DISTRO_VERSION)' \
|
|
'set(LINUX_DISTRO "nixos")'
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
|
buildInputs = [ bison openssl readline bzip2 ];
|
|
|
|
meta = with lib; {
|
|
description = "An open source database system";
|
|
homepage = "https://www.monetdb.org/";
|
|
license = licenses.mpl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.StillerHarpo ];
|
|
};
|
|
}
|