libofx: enable for darwin

This commit is contained in:
Robert Scott 2019-12-07 13:11:50 +00:00
parent 0351829bf8
commit 8169d30c0c

View file

@ -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 = [ ];
};
}