nixpkgs/pkgs/development/libraries/libofx/default.nix

28 lines
863 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, opensp, pkg-config, libxml2, curl
2019-12-07 13:11:50 +00:00
, 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 = [ pkg-config libtool autoconf automake gengetopt ];
2019-12-07 13:11:50 +00:00
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";
2019-12-07 13:11:50 +00:00
platforms = stdenv.lib.platforms.unix;
maintainers = [ ];
};
}