depot/third_party/nixpkgs/pkgs/development/libraries/libofx/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
862 B
Nix

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