Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
947 B
Nix
51 lines
947 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
opensp,
|
|
pkg-config,
|
|
libxml2,
|
|
curl,
|
|
autoconf,
|
|
automake,
|
|
libtool,
|
|
gengetopt,
|
|
libiconv,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libofx";
|
|
version = "0.10.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LibOFX";
|
|
repo = "libofx";
|
|
rev = version;
|
|
sha256 = "sha256-KOQrEAt1jHrOpPQ7QbGUADe0i7sQXNH2fblPRzT0EIg=";
|
|
};
|
|
|
|
preConfigure = "./autogen.sh";
|
|
configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
libtool
|
|
autoconf
|
|
automake
|
|
gengetopt
|
|
];
|
|
buildInputs = [
|
|
opensp
|
|
libxml2
|
|
curl
|
|
]
|
|
++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
|
|
|
meta = {
|
|
description = "Opensource implementation of the Open Financial eXchange specification";
|
|
homepage = "https://libofx.sourceforge.net/";
|
|
license = lib.licenses.gpl2Only;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|