2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, opensp, pkg-config, libxml2, curl
|
2020-04-24 23:36:52 +00:00
|
|
|
, autoconf, automake, libtool, gengetopt, libiconv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libofx";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.10.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LibOFX";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-2ZSbXdlpX5MDV9y1d9ZqNSh/834MUeCZJHjJcg7ap0A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config libtool autoconf automake gengetopt ];
|
|
|
|
buildInputs = [ opensp libxml2 curl ] ++ lib.optional stdenv.isDarwin libiconv;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Opensource implementation of the Open Financial eXchange specification";
|
|
|
|
homepage = "http://libofx.sourceforge.net/";
|
|
|
|
license = "LGPL";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|