2019-12-07 12:59:32 +00:00
|
|
|
{ stdenv, fetchFromGitHub, opensp, pkgconfig, libxml2, curl
|
2019-12-07 13:11:50 +00:00
|
|
|
, autoconf, automake, libtool, gengetopt, libiconv }:
|
2019-12-07 12:59:32 +00:00
|
|
|
|
2010-01-26 22:04:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-12-07 12:59:32 +00:00
|
|
|
pname = "libofx";
|
|
|
|
version = "0.9.15";
|
2010-01-26 22:04:54 +00:00
|
|
|
|
2019-12-07 12:59:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LibOFX";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1jx56ma351p8af8dvavygjwf6ipa7qbgq7bpdsymwj27apdnixfy";
|
2010-01-26 22:04:54 +00:00
|
|
|
};
|
|
|
|
|
2019-12-07 12:59:32 +00:00
|
|
|
preConfigure = "./autogen.sh";
|
2010-01-26 22:04:54 +00:00
|
|
|
configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
|
2019-12-07 12:59:32 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig libtool autoconf automake gengetopt ];
|
2019-12-07 13:11:50 +00:00
|
|
|
buildInputs = [ opensp libxml2 curl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
|
2010-01-26 22:04:54 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Opensource implementation of the Open Financial eXchange specification";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://libofx.sourceforge.net/";
|
2010-01-26 22:04:54 +00:00
|
|
|
license = "LGPL";
|
2019-12-07 13:11:50 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = [ ];
|
2010-01-26 22:04:54 +00:00
|
|
|
};
|
|
|
|
}
|