depot/third_party/nixpkgs/pkgs/development/libraries/libofx/default.nix
Default email c3ac4d4040 Project import generated by Copybara.
GitOrigin-RevId: 1158501e7c7cba26d922723cf9f70099995eb755
2022-09-14 15:05:37 -03:00

27 lines
853 B
Nix

{ lib, stdenv, fetchFromGitHub, opensp, pkg-config, libxml2, curl
, autoconf, automake, libtool, gengetopt, libiconv }:
stdenv.mkDerivation rec {
pname = "libofx";
version = "0.10.7";
src = fetchFromGitHub {
owner = "LibOFX";
repo = pname;
rev = version;
sha256 = "sha256-zbSVmduEH7iO/8N6hEpQQMUYDVG6CaNycGOl5bd6fsw=";
};
preConfigure = "./autogen.sh";
configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
nativeBuildInputs = [ pkg-config libtool autoconf automake gengetopt ];
buildInputs = [ opensp libxml2 curl ] ++ lib.optional stdenv.isDarwin libiconv;
meta = {
description = "Opensource implementation of the Open Financial eXchange specification";
homepage = "http://libofx.sourceforge.net/";
license = "LGPL";
platforms = lib.platforms.unix;
maintainers = [ ];
};
}