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