mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
28 lines
853 B
Nix
28 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.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LibOFX";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-V9FyOVH9CB6UtTxDvXRyX6mWaXq2Y2K3t9lotjigK0M=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|