2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, opensp, pkg-config, 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";
|
2022-10-04 11:25:48 +00:00
|
|
|
version = "0.10.9";
|
2010-01-26 22:04:54 +00:00
|
|
|
|
2019-12-07 12:59:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LibOFX";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-10-04 11:25:48 +00:00
|
|
|
sha256 = "sha256-KOQrEAt1jHrOpPQ7QbGUADe0i7sQXNH2fblPRzT0EIg=";
|
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" ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config libtool autoconf automake gengetopt ];
|
2021-01-21 17:00:13 +00:00
|
|
|
buildInputs = [ opensp libxml2 curl ] ++ lib.optional stdenv.isDarwin libiconv;
|
2010-01-26 22:04:54 +00:00
|
|
|
|
2021-01-19 21:20:11 +00:00
|
|
|
meta = {
|
2010-01-26 22:04:54 +00:00
|
|
|
description = "Opensource implementation of the Open Financial eXchange specification";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://libofx.sourceforge.net/";
|
2010-01-26 22:04:54 +00:00
|
|
|
license = "LGPL";
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = [ ];
|
2010-01-26 22:04:54 +00:00
|
|
|
};
|
|
|
|
}
|