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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
853 B
Nix
Raw Normal View History

{ lib, 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";
2022-09-09 23:54:30 +00:00
version = "0.10.7";
src = fetchFromGitHub {
owner = "LibOFX";
repo = pname;
rev = version;
2022-09-09 23:54:30 +00:00
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 = [ ];
};
}