librdf_redland: Enable darwin build

This commit is contained in:
Josef Kemetmüller 2018-05-22 02:55:26 +02:00 committed by Tuomas Tynkkynen
parent 79476b5883
commit 23a83fbf86

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, openssl, libxslt, perl
, curl, pcre, libxml2, librdf_rasqal
, curl, pcre, libxml2, librdf_rasqal, gmp
, mysql, withMysql ? false
, postgresql, withPostgresql ? false
, sqlite, withSqlite ? true
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl pkgconfig ];
buildInputs = [ openssl libxslt curl pcre libxml2 ]
buildInputs = [ openssl libxslt curl pcre libxml2 gmp ]
++ stdenv.lib.optional withMysql mysql.connector-c
++ stdenv.lib.optional withSqlite sqlite
++ stdenv.lib.optional withPostgresql postgresql
@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://librdf.org/;
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
};
}