diff --git a/pkgs/development/libraries/libofx/default.nix b/pkgs/development/libraries/libofx/default.nix index 7e5e1cec9258..76276f0ce0fc 100644 --- a/pkgs/development/libraries/libofx/default.nix +++ b/pkgs/development/libraries/libofx/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, opensp, pkgconfig, libxml2, curl -, autoconf, automake, libtool, gengetopt }: +, autoconf, automake, libtool, gengetopt, libiconv }: stdenv.mkDerivation rec { pname = "libofx"; @@ -15,13 +15,13 @@ stdenv.mkDerivation rec { preConfigure = "./autogen.sh"; configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ]; nativeBuildInputs = [ pkgconfig libtool autoconf automake gengetopt ]; - buildInputs = [ opensp libxml2 curl ]; + buildInputs = [ opensp libxml2 curl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv; meta = { description = "Opensource implementation of the Open Financial eXchange specification"; homepage = http://libofx.sourceforge.net/; license = "LGPL"; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; maintainers = [ ]; }; }