@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, opensp, pkgconfig, libxml2, curl
2−, autoconf, automake, libtool, gengetopt }:
2+, autoconf, automake, libtool, gengetopt, libiconv }:
33
44stdenv.mkDerivation rec {
55 pname = "libofx";
@@ -15,13 +15,13 @@ stdenv.mkDerivation rec {
1515 preConfigure = "./autogen.sh";
1616 configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
1717 nativeBuildInputs = [ pkgconfig libtool autoconf automake gengetopt ];
18− buildInputs = [ opensp libxml2 curl ];
18+ buildInputs = [ opensp libxml2 curl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
1919
2020 meta = {
2121 description = "Opensource implementation of the Open Financial eXchange specification";
2222 homepage = http://libofx.sourceforge.net/;
2323 license = "LGPL";
24− platforms = stdenv.lib.platforms.linux;
24+ platforms = stdenv.lib.platforms.unix;
2525 maintainers = [ ];
2626 };
2727}